From a8d9d6649e621e6e0d0887bd7f5a6069cb9cfa72 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 8 Dec 2019 18:00:42 +0100 Subject: [PATCH] opts.c (common_handle_option): Do not clear ipa_reference for -fprofile-use. * opts.c (common_handle_option): Do not clear ipa_reference for -fprofile-use. From-SVN: r279092 --- gcc/ChangeLog | 5 +++++ gcc/opts.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 416e7d6f543..2b6558a12e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-07 Jan Hubicka + + * opts.c (common_handle_option): Do not clear ipa_reference for + -fprofile-use. + 2019-12-07 Jan Hubicka * ipa-split.c (split_function): Preserve 0 tp_first_run. diff --git a/gcc/opts.c b/gcc/opts.c index 3c53fbe1baa..3ddad551e6f 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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_: -- 2.30.2