From 85a59cea228798d33b77934a225d6e3db651f887 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Thu, 28 Oct 2004 18:18:46 +0000 Subject: [PATCH] * opts.c (decode_options): Don't run PRE at -Os. From-SVN: r89770 --- gcc/ChangeLog | 4 ++++ gcc/opts.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 75e9cb280ec..d19df0ed993 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-10-28 Diego Novillo + + * opts.c (decode_options): Don't run PRE at -Os. + 2004-10-28 Richard Henderson * config/alpha/alpha.md (movqicc_internal): Allow exactly one diff --git a/gcc/opts.c b/gcc/opts.c index b44b28c7b1e..640b92e45ca 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; } } -- 2.30.2