]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
opts.c (common_handle_option): Enable inlining functions for -fprofile-generate.
authorJan Hubicka <jh@suse.cz>
Wed, 5 Sep 2007 23:38:34 +0000 (01:38 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 5 Sep 2007 23:38:34 +0000 (23:38 +0000)
* opts.c (common_handle_option): Enable inlining functions for
-fprofile-generate.

From-SVN: r128161

gcc/ChangeLog
gcc/opts.c

index ba5f47bc7f124c13c0bcdab20e6db02f55b8d1a0..66646abb57bc962599897069d262a8dc6a25c1e5 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-06  Jan Hubicka  <jh@suse.cz>
+
+       * opts.c (common_handle_option): Enable inlining functions for
+       -fprofile-generate.
+
 2007-09-06  Jakub Jelinek  <jakub@redhat.com>
 
        * builtin-attrs.def (ATTR_NONNULL_3): New.
index f6c749f32c86ef48d6a69fcb54e266998a072643..e935fd9509c10db3d64d4af50e7e521d6b4cf1a9 100644 (file)
@@ -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: