Patchwork Fix PR52800

login
register
mail settings
Submitter Richard Guenther
Date April 2, 2012, 11:56 a.m.
Message ID <Pine.LNX.4.64.1204021355250.1852@jbgna.fhfr.qr>
Download mbox | patch
Permalink /patch/150120/
State New
Headers show

Comments

Richard Guenther - April 2, 2012, 11:56 a.m.
This fixes PR52800.

Bootstrapped and tested on x86_64-unknown-linux-gnu.

Richard.

2012-04-02  Richard Guenther  <rguenther@suse.de>

        PR rtl-optimization/52800
        * cprop.c (execute_rtl_cprop): Call cleanup_cfg with
        CLEANUP_CFG_CHANGED.

Patch

Index: gcc/cprop.c
===================================================================
--- gcc/cprop.c	(revision 186066)
+++ gcc/cprop.c	(working copy)
@@ -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;
 }