OSDN Git Service

* opts.c (decode_options): Don't run PRE at -Os.
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 18:18:46 +0000 (18:18 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 18:18:46 +0000 (18:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89770 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/opts.c

index 75e9cb2..d19df0e 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 b44b28c..640b92e 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;
        }
     }