aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorSteven Bosscher <s.bosscher@student.tudelft.nl>2004-01-30 12:20:10 +0100
committerSteven Bosscher <steven@gcc.gnu.org>2004-01-30 11:20:10 +0000
commit80a086643833d4d6e8202df0836335b556b04db7 (patch)
treeae0f04af1498297c029114c5f74f585db3641245 /gcc/toplev.c
parent690495b0fcc31e412ab64b68e5e8cf9d97c0f670 (diff)
downloadgcc-80a086643833d4d6e8202df0836335b556b04db7.zip
gcc-80a086643833d4d6e8202df0836335b556b04db7.tar.gz
gcc-80a086643833d4d6e8202df0836335b556b04db7.tar.bz2
* toplev.c: Fix broken checkin of 2003-12-30, again.
From-SVN: r76948
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 425f94e..5154b44 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3316,6 +3316,9 @@ rest_of_compilation (tree decl)
if (flag_loop_optimize)
rest_of_handle_loop_optimize (decl, insns);
+
+ if (flag_gcse)
+ rest_of_handle_jump_bypass (decl, insns);
}
timevar_push (TV_FLOW);
@@ -3343,16 +3346,11 @@ rest_of_compilation (tree decl)
if (flag_tracer)
rest_of_handle_tracer (decl, insns);
- if (optimize > 0)
- {
- if (flag_unswitch_loops
+ if (optimize > 0
+ && (flag_unswitch_loops
|| flag_peel_loops
- || flag_unroll_loops)
- rest_of_handle_loop2 (decl, insns);
-
- if (flag_gcse)
- rest_of_handle_jump_bypass (decl, insns);
- }
+ || flag_unroll_loops))
+ rest_of_handle_loop2 (decl, insns);
if (flag_web)
rest_of_handle_web (decl, insns);