From: Jan Hubicka Date: Fri, 10 Jun 2011 18:45:52 +0000 (+0200) Subject: opts.c (default_options): Enlist OPT_finline_functions_called_once. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb37c1de6967ec40db33ac86b8196fc187c38afb;p=gcc.git opts.c (default_options): Enlist OPT_finline_functions_called_once. * opts.c (default_options): Enlist OPT_finline_functions_called_once. * common.opt (flag_inline_functions_called_once):Do not initialize to 1. From-SVN: r174924 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 935cb145e6c..4c204f457de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-10 Jan Hubicka + + * 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 * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable. diff --git a/gcc/common.opt b/gcc/common.opt index 5a5360785bd..d412f572020 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -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- diff --git a/gcc/opts.c b/gcc/opts.c index f7355576928..712425eb928 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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 },