diff options
author | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-09 22:49:12 +0000 |
---|---|---|
committer | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-09 22:49:12 +0000 |
commit | de2ca00d29242ceca6db56e3793a9b6e6182c46c (patch) | |
tree | 90db0a19c995b30c6d8bb39190ca384e0d63716e /gcc/cprop.c | |
parent | 6369795812d5fafdef165290c2777acd3e42633d (diff) | |
download | gcc-de2ca00d29242ceca6db56e3793a9b6e6182c46c.tar.gz |
Revert r174848,174849
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r-- | gcc/cprop.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c index a81a80862dd..b7b17b19387 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -1843,17 +1843,15 @@ one_cprop_pass (void) static bool gate_rtl_cprop (void) { - return optimize > 0 && flag_gcse; + return optimize > 0 && flag_gcse + && !cfun->calls_setjmp + && dbg_cnt (cprop); } 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 (); @@ -1884,3 +1882,4 @@ struct rtl_opt_pass pass_rtl_cprop = TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; + |