From ec3167d1b0bc3cd77968b945de37a20e637fdb3a Mon Sep 17 00:00:00 2001 From: rguenth Date: Mon, 2 Apr 2012 12:00:30 +0000 Subject: [PATCH] 2012-04-02 Richard Guenther 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 | 6 ++++++ gcc/cprop.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef6425c..a020c70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2012-04-02 Richard Guenther + PR rtl-optimization/52800 + * cprop.c (execute_rtl_cprop): Call cleanup_cfg with + CLEANUP_CFG_CHANGED. + +2012-04-02 Richard Guenther + 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 024dd20..ea69091 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; } -- 2.7.4