summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-02 12:00:30 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-02 12:00:30 +0000
commitec3167d1b0bc3cd77968b945de37a20e637fdb3a (patch)
tree9c9b07f7e0b35f9b93927931381863e982d92c40
parent759626e64ff15d51cb12ec351d3a0de0b06ae13e (diff)
downloadgcc-ec3167d1b0bc3cd77968b945de37a20e637fdb3a.tar.gz
2012-04-02 Richard Guenther <rguenther@suse.de>
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cprop.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ef6425cfe60..a020c700929 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 024dd207655..ea6909195ac 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -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;
}