opts.c (common_handle_option): Do not clear ipa_reference for -fprofile-use.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 8 Dec 2019 17:00:42 +0000 (18:00 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Dec 2019 17:00:42 +0000 (17:00 +0000)
* opts.c (common_handle_option): Do not clear ipa_reference for
-fprofile-use.

From-SVN: r279092

gcc/ChangeLog
gcc/opts.c

index 416e7d6..2b6558a 100644 (file)
@@ -1,5 +1,10 @@
 2019-12-07  Jan Hubicka  <hubicka@ucw.cz>
 
+       * opts.c (common_handle_option): Do not clear ipa_reference for
+       -fprofile-use.
+
+2019-12-07  Jan Hubicka  <hubicka@ucw.cz>
+
        * ipa-split.c (split_function): Preserve 0 tp_first_run.
 
 2019-12-07  Jan Hubicka  <hubicka@ucw.cz>
index 3c53fbe..3ddad55 100644 (file)
@@ -2550,10 +2550,6 @@ common_handle_option (struct gcc_options *opts,
       SET_OPTION_IF_UNSET (opts, opts_set, flag_profile_values, value);
       SET_OPTION_IF_UNSET (opts, opts_set, flag_inline_functions, value);
       SET_OPTION_IF_UNSET (opts, opts_set, flag_ipa_bit_cp, value);
-      /* FIXME: Instrumentation we insert makes ipa-reference bitmaps
-        quadratic.  Disable the pass until better memory representation
-        is done.  */
-      SET_OPTION_IF_UNSET (opts, opts_set, flag_ipa_reference, false);
       break;
 
     case OPT_fpatchable_function_entry_: