From 1c58fe290b9a2c0f8cd4af6a075ed919de14cbf1 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 17 Apr 2014 07:59:03 +0200 Subject: [PATCH] opts.c (common_handle_option): Disable -fipa-reference coorectly with -fuse-profile. * opts.c (common_handle_option): Disable -fipa-reference coorectly with -fuse-profile. From-SVN: r209462 --- gcc/ChangeLog | 5 +++++ gcc/opts.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 783a1b8..953658f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-04-16 Jan Hubicka + * opts.c (common_handle_option): Disable -fipa-reference coorectly + with -fuse-profile. + +2014-04-16 Jan Hubicka + * ipa-devirt.c (odr_type_d): Add field all_derivations_known. (type_all_derivations_known_p): New predicate. (type_all_ctors_visible_p): New predicate. diff --git a/gcc/opts.c b/gcc/opts.c index e85e73a..27b32d6 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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; -- 2.7.4