2012-04-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Apr 2012 12:00:30 +0000 (12:00 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Apr 2012 12:00:30 +0000 (12:00 +0000)
PR rtl-optimization/52800
* cprop.c (execute_rtl_cprop): Call cleanup_cfg with
CLEANUP_CFG_CHANGED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186081 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cprop.c

index ef6425c..a020c70 100644 (file)
@@ -1,5 +1,11 @@
 2012-04-02  Richard Guenther  <rguenther@suse.de>
 
+       PR rtl-optimization/52800
+       * cprop.c (execute_rtl_cprop): Call cleanup_cfg with
+       CLEANUP_CFG_CHANGED.
+
+2012-04-02  Richard Guenther  <rguenther@suse.de>
+
        PR middle-end/52803
        * loop-init.c (gate_handle_loop2): Destroy loops here if
        we don't enter RTL loop optimizers.
index 024dd20..ea69091 100644 (file)
@@ -1916,7 +1916,7 @@ execute_rtl_cprop (void)
   changed = one_cprop_pass ();
   flag_rerun_cse_after_global_opts |= changed;
   if (changed)
-    cleanup_cfg (0);
+    cleanup_cfg (CLEANUP_CFG_CHANGED);
   return 0;
 }