* tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
debug stmts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167162
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-11-26 Alexandre Oliva <aoliva@redhat.com>
+
+ PR debug/46258
+ * tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
+ debug stmts.
+
2010-11-26 Alexandre Oliva <aoliva@redhat.com>
* toplev.c (finalize): Add no_backend parameter. Don't finish
size_t i;
fold_stmt_inplace (stmt);
- if (cfgcleanup_altered_bbs)
+ if (cfgcleanup_altered_bbs && !is_gimple_debug (stmt))
bitmap_set_bit (cfgcleanup_altered_bbs, gimple_bb (stmt)->index);
/* FIXME. This should go in update_stmt. */