aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-09-07 10:23:06 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-09-07 10:23:06 +0000
commitd630245f9d4584bd3ecb2192f8e2ba05e1db77ba (patch)
tree6bacff29f54b81215a23625852fb1d19f6ee22c7 /gcc/tree-ssa-coalesce.c
parent183c7727f2fb0d7b3e8e0673da1436d11e8535cd (diff)
downloadgcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.zip
gcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.tar.gz
gcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.tar.bz2
bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit.
* bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. * graphite.c (print_global_statistics): Use EDGE_COUNT instead of VEC_length. (print_graphite_scop_statistics): Likewise. * graphite-scop-detection.c (get_bb_type): Use single_succ_p. (print_graphite_scop_statistics): Use EDGE_COUNT, not VEC_length. (canonicalize_loop_closed_ssa): Use single_pred_p. * alias.c (reg_seen): Make this an sbitmap. (record_set, init_alias_analysis): Update. * tree-ssa-coalesce.c (ssa_conflicts_dump): Fix dumping. From-SVN: r191063
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r--gcc/tree-ssa-coalesce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 5d2ce38..6217825 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -626,10 +626,10 @@ ssa_conflicts_dump (FILE *file, ssa_conflicts_p ptr)
fprintf (file, "\nConflict graph:\n");
- FOR_EACH_VEC_ELT (bitmap, ptr->conflicts, x, b);
+ FOR_EACH_VEC_ELT (bitmap, ptr->conflicts, x, b)
if (b)
{
- fprintf (dump_file, "%d: ", x);
+ fprintf (file, "%d: ", x);
dump_bitmap (file, b);
}
}