| Submitter | Xinliang David Li |
|---|---|
| Date | June 9, 2011, 8:28 p.m. |
| Message ID | <20110609202847.D1B7C20C79@syzygy.mtv.corp.google.com> |
| Download | mbox | patch |
| Permalink | /patch/99797/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcse.c =================================================================== --- gcse.c (revision 174852) +++ gcse.c (working copy) @@ -5309,15 +5309,17 @@ one_cprop_pass (void) static bool gate_rtl_cprop (void) { - return optimize > 0 && flag_gcse - && !cfun->calls_setjmp - && dbg_cnt (cprop); + return optimize > 0 && flag_gcse; } static unsigned int execute_rtl_cprop (void) { int changed; + if (cfun->calls_setjmp + || !dbg_cnt (cprop)) + return 0; + delete_unreachable_blocks (); df_set_flags (DF_LR_RUN_DCE); df_analyze ();