summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-05 23:38:34 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-05 23:38:34 +0000
commit92ffbdd1cb1e46f7e177f5875a2cbeae5803153d (patch)
treec624cc200bda8981c263590dbe6096d8837aba49 /gcc/opts.c
parenta3558ba3474fc620dbf1473b4467c1cda81e8a9e (diff)
downloadgcc-92ffbdd1cb1e46f7e177f5875a2cbeae5803153d.tar.gz
* opts.c (common_handle_option): Enable inlining functions for
-fprofile-generate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index f6c749f32c8..e935fd9509c 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1635,6 +1635,8 @@ common_handle_option (size_t scode, const char *arg, int value,
flag_profile_values = value;
if (!flag_value_profile_transformations_set)
flag_value_profile_transformations = value;
+ if (!flag_inline_functions_set)
+ flag_inline_functions = value;
break;
case OPT_fprofile_values: