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 416e7d6f54347ef88f1bb30ba5aaf25993829cca..2b6558a12e6204ac46867dd49fde5bdedba5ae92 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3c53fbe1baa6202dbbc03ce4cec737c834232a69..3ddad551e6fc4741c787c38eded502a60a1d51da 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_: