From d630245f9d4584bd3ecb2192f8e2ba05e1db77ba Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Fri, 7 Sep 2012 10:23:06 +0000 Subject: 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 --- gcc/tree-ssa-coalesce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-ssa-coalesce.c') 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); } } -- cgit v1.1