* opts.c (decode_options): Don't run PRE at -Os.
authorDiego Novillo <dnovillo@redhat.com>
Thu, 28 Oct 2004 18:18:46 +0000 (18:18 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 28 Oct 2004 18:18:46 +0000 (14:18 -0400)
From-SVN: r89770

gcc/ChangeLog
gcc/opts.c

index 75e9cb280ecbe58708b95803fb124827bbdd2067..d19df0ed9938bf8b88b9899dcdd4e1b3765592b7 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-28  Diego Novillo  <dnovillo@redhat.com>
+
+       * opts.c (decode_options): Don't run PRE at -Os.
+
 2004-10-28  Richard Henderson  <rth@redhat.com>
 
        * config/alpha/alpha.md (movqicc_internal): Allow exactly one
index b44b28c7b1e6740fe8c05c9382511fa1b0b07564..640b92e45ca601297df0362d3884e95b7e10e9e1 100644 (file)
@@ -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;
        }
     }