* opts.c (decode_options): Enable unit-at-a-time at -O2.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 05:36:47 +0000 (05:36 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 05:36:47 +0000 (05:36 +0000)
* params.def (max-inline-insns-single): Set to 500
(max-inline-insns-auto): Set to 150
* invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71105 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi
gcc/opts.c
gcc/params.def

index 92437ba..fe1f21b 100644 (file)
@@ -1,3 +1,10 @@
+Fri Sep  5 07:35:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * opts.c (decode_options): Enable unit-at-a-time at -O2.
+       * params.def (max-inline-insns-single): Set to 500
+       (max-inline-insns-auto): Set to 150
+       * invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.
+
 2003-09-04  Richard Henderson  <rth@redhat.com>
 
        * cgraph.c (cgraph_mark_reachable_node): Split out from ...
index 4ca859b..db31657 100644 (file)
@@ -4591,7 +4591,7 @@ This number sets the maximum number of instructions (counted in gcc's
 internal representation) in a single function that the tree inliner 
 will consider for inlining.  This only affects functions declared
 inline and methods implemented in a class declaration (C++).
-The default value is 100.
+The default value is 500.
 
 @item max-inline-insns-auto
 When you use @option{-finline-functions} (included in @option{-O3}),
@@ -4599,7 +4599,7 @@ a lot of functions that would otherwise not be considered for inlining
 by the compiler will be investigated.  To those functions, a different
 (more restrictive) limit compared to functions declared inline can
 be applied.
-The default value is 100.
+The default value is 150.
 
 @item max-inline-insns
 The tree inliner does decrease the allowable size for single functions 
index fe8d28f..c4c5b9f 100644 (file)
@@ -556,6 +556,7 @@ decode_options (unsigned int argc, const char **argv)
       flag_delete_null_pointer_checks = 1;
       flag_reorder_blocks = 1;
       flag_reorder_functions = 1;
+      flag_unit_at_a_time = 1;
     }
 
   if (optimize >= 3)
@@ -563,7 +564,6 @@ decode_options (unsigned int argc, const char **argv)
       flag_inline_functions = 1;
       flag_rename_registers = 1;
       flag_unswitch_loops = 1;
-      flag_unit_at_a_time = 1;
     }
 
   if (optimize < 2 || optimize_size)
index 1d50e2b..c5dfca8 100644 (file)
@@ -51,7 +51,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE,
          "max-inline-insns-single",
          "The maximum number of instructions in a single function eligible for inlining",
-         100)
+         500)
 
 /* The single function inlining limit for functions that are
    inlined by virtue of -finline-functions (-O3).
@@ -63,7 +63,7 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE,
 DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
          "max-inline-insns-auto",
          "The maximum number of instructions when automatically inlining",
-         100)
+         150)
 
 /* The repeated inlining limit.  After this number of instructions 
    (in the internal gcc representation, not real machine instructions)