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/tree-complex.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/tree-complex.c')
-rw-r--r-- | gcc/tree-complex.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c index 34298517eff..ec2b438ca47 100644 --- a/gcc/tree-complex.c +++ b/gcc/tree-complex.c @@ -1569,11 +1569,6 @@ tree_lower_complex (void) gimple_stmt_iterator gsi; basic_block bb; - /* With errors, normal optimization passes are not run. If we don't - lower complex operations at all, rtl expansion will abort. */ - if (cfun->curr_properties & PROP_gimple_lcx) - return 0; - if (!init_dont_simulate_again ()) return 0; @@ -1639,7 +1634,9 @@ struct gimple_opt_pass pass_lower_complex = static bool gate_no_optimization (void) { - return true; + /* With errors, normal optimization passes are not run. If we don't + lower complex operations at all, rtl expansion will abort. */ + return !(cfun->curr_properties & PROP_gimple_lcx); } struct gimple_opt_pass pass_lower_complex_O0 = |