diff options
author | Steven Bosscher <stevenb@suse.de> | 2005-01-27 16:32:12 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2005-01-27 16:32:12 +0000 |
commit | 116cb604ccba8dc7fe055e68ba0330edbda9faa6 (patch) | |
tree | dc324f82ea9932fb68be7d5ec9da7f0000e695a7 /gcc/tree-ssa-dom.c | |
parent | 6737ba67d5250258aa08fa779ddac32f8bca6dfb (diff) | |
download | gcc-116cb604ccba8dc7fe055e68ba0330edbda9faa6.zip gcc-116cb604ccba8dc7fe055e68ba0330edbda9faa6.tar.gz gcc-116cb604ccba8dc7fe055e68ba0330edbda9faa6.tar.bz2 |
re PR middle-end/17278 (8% C++ compile-time regression in comparison with 3.4.1 at -O1 optimization level)
PR middle-end/17278
* opts.c (decode_options): Move flag_thread_jumps from -O1 and
higher to -O2 and higher. Likewise for tree PRE.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Only iterate at -O2
and better.
From-SVN: r94325
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index b492949..648ee56 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -479,7 +479,7 @@ tree_ssa_dominator_optimize (void) SSA_NAME_VALUE (name) = NULL; } } - while (cfg_altered); + while (optimize > 1 && cfg_altered); /* Debugging dumps. */ if (dump_file && (dump_flags & TDF_STATS)) |