aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2004-10-28 18:18:46 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2004-10-28 14:18:46 -0400
commit85a59cea228798d33b77934a225d6e3db651f887 (patch)
tree192c1dd757599637473587f984f4dc8537721d5c /gcc/opts.c
parent283dd63338be451405f9e22f45fbb2bcae4967e3 (diff)
downloadgcc-85a59cea228798d33b77934a225d6e3db651f887.zip
gcc-85a59cea228798d33b77934a225d6e3db651f887.tar.gz
gcc-85a59cea228798d33b77934a225d6e3db651f887.tar.bz2
* opts.c (decode_options): Don't run PRE at -Os.
From-SVN: r89770
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index b44b28c..640b92e 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -497,7 +497,6 @@ decode_options (unsigned int argc, const char **argv)
flag_tree_dce = 1;
flag_tree_dom = 1;
flag_tree_dse = 1;
- flag_tree_pre = 1;
flag_tree_ter = 1;
flag_tree_live_range_split = 1;
flag_tree_sra = 1;
@@ -511,6 +510,9 @@ decode_options (unsigned int argc, const char **argv)
the condition is satisfied in the first iteration and therefore
to eliminate it. Jump threading handles these cases now. */
flag_tree_ch = 1;
+
+ /* PRE tends to generate bigger code. */
+ flag_tree_pre = 1;
}
}