]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
opts.c (common_handle_option): Disable -fipa-reference coorectly with -fuse-profile.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 17 Apr 2014 05:59:03 +0000 (07:59 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 17 Apr 2014 05:59:03 +0000 (05:59 +0000)
* opts.c (common_handle_option): Disable -fipa-reference coorectly
with -fuse-profile.

From-SVN: r209462

gcc/ChangeLog
gcc/opts.c

index 783a1b8d757fcda829d356da9812cb88b0693ebb..953658f4b38e2b56be31934074b662ffe648f55d 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
+
+       * opts.c (common_handle_option): Disable -fipa-reference coorectly
+       with -fuse-profile.
+
 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
 
        * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
index e85e73acf79444d7f54cac34a19553c6501aca9a..27b32d60a3f15eada7fa97177ffd42a15dbf6dbf 100644 (file)
@@ -1732,7 +1732,7 @@ common_handle_option (struct gcc_options *opts,
       /* FIXME: Instrumentation we insert makes ipa-reference bitmaps
         quadratic.  Disable the pass until better memory representation
         is done.  */
-      if (!opts_set->x_flag_ipa_reference && opts->x_in_lto_p)
+      if (!opts_set->x_flag_ipa_reference)
         opts->x_flag_ipa_reference = false;
       break;