diff options
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r-- | gcc/tree-ssa-coalesce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c index ef28c8eff38..388437d44bb 100644 --- a/gcc/tree-ssa-coalesce.c +++ b/gcc/tree-ssa-coalesce.c @@ -315,8 +315,8 @@ add_coalesce (coalesce_list_p cl, int p1, int p2, static int compare_pairs (const void *p1, const void *p2) { - const_coalesce_pair_p const * pp1 = p1; - const_coalesce_pair_p const * pp2 = p2; + const_coalesce_pair_p const *const pp1 = (const_coalesce_pair_p const *) p1; + const_coalesce_pair_p const *const pp2 = (const_coalesce_pair_p const *) p2; int result; result = (* pp2)->cost - (* pp1)->cost; |