From: Jan Hubicka Date: Wed, 5 Sep 2007 23:38:34 +0000 (+0200) Subject: opts.c (common_handle_option): Enable inlining functions for -fprofile-generate. X-Git-Tag: releases/gcc-4.3.0~2845 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b956c95fd1c8d79eb74fdbb662fed8ab8b98268;p=thirdparty%2Fgcc.git opts.c (common_handle_option): Enable inlining functions for -fprofile-generate. * opts.c (common_handle_option): Enable inlining functions for -fprofile-generate. From-SVN: r128161 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba5f47bc7f12..66646abb57bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-06 Jan Hubicka + + * opts.c (common_handle_option): Enable inlining functions for + -fprofile-generate. + 2007-09-06 Jakub Jelinek * builtin-attrs.def (ATTR_NONNULL_3): New. diff --git a/gcc/opts.c b/gcc/opts.c index f6c749f32c86..e935fd9509c1 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: