diff options
author | Jan Hubicka <jh@suse.cz> | 2011-06-10 20:45:52 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-06-10 18:45:52 +0000 |
commit | fb37c1de6967ec40db33ac86b8196fc187c38afb (patch) | |
tree | 634861dab9c077b5da5ba8e8863e1ea2c9615185 /gcc | |
parent | e44eb8ff70ccac139cb8c5c74532c2102ec07032 (diff) | |
download | gcc-fb37c1de6967ec40db33ac86b8196fc187c38afb.zip gcc-fb37c1de6967ec40db33ac86b8196fc187c38afb.tar.gz gcc-fb37c1de6967ec40db33ac86b8196fc187c38afb.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/common.opt | 2 | ||||
-rw-r--r-- | gcc/opts.c | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 935cb14..4c204f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/common.opt b/gcc/common.opt index 5a53607..d412f57 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- @@ -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 }, |