OSDN Git Service

* opts.c (default_options): Enlist OPT_finline_functions_called_once.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jun 2011 18:45:52 +0000 (18:45 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jun 2011 18:45:52 +0000 (18:45 +0000)
* common.opt (flag_inline_functions_called_once):Do not initialize to 1.

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

gcc/ChangeLog
gcc/common.opt
gcc/opts.c

index 935cb14..4c204f4 100644 (file)
@@ -1,5 +1,10 @@
 2011-06-10  Jan Hubicka  <jh@suse.cz>
 
+       * opts.c (default_options): Enlist OPT_finline_functions_called_once.
+       * common.opt (flag_inline_functions_called_once):Do not initialize to 1.
+
+2011-06-10  Jan Hubicka  <jh@suse.cz>
+
        * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable.
        (ipcp_initialize_node_lattices): Do not deal with aliases; Do not try to
        propagate through thunks.
index 5a53607..d412f57 100644 (file)
@@ -1233,7 +1233,7 @@ Common Report Var(flag_inline_functions) Optimization
 Integrate simple functions into their callers
 
 finline-functions-called-once
-Common Report Var(flag_inline_functions_called_once) Init(1) Optimization
+Common Report Var(flag_inline_functions_called_once) Optimization
 Integrate functions called once into their callers
 
 finline-limit-
index f735557..712425e 100644 (file)
@@ -486,6 +486,7 @@ static const struct default_options default_options_table[] =
     /* Inlining of functions reducing size is a good idea with -Os
        regardless of them being declared inline.  */
     { OPT_LEVELS_3_PLUS_AND_SIZE, OPT_finline_functions, NULL, 1 },
+    { OPT_LEVELS_1_PLUS, OPT_finline_functions_called_once, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_funswitch_loops, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fgcse_after_reload, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_vectorize, NULL, 1 },