This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR52800


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.

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;
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]