From: Jan Hubicka Date: Thu, 17 Apr 2014 05:59:03 +0000 (+0200) Subject: opts.c (common_handle_option): Disable -fipa-reference coorectly with -fuse-profile. X-Git-Tag: releases/gcc-5.1.0~8074 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c58fe290b9a2c0f8cd4af6a075ed919de14cbf1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 783a1b8d757f..953658f4b38e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/opts.c b/gcc/opts.c index e85e73acf794..27b32d60a3f1 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;