re PR middle-end/14684 (-fprofile-use/-fprofile-generate failure because of coverage mismatch)

2004-10-27  Andreas Krebbel  <krebbel@de.ibm.com>
            patch originally created by Kelley Cook  <kcook@gcc.gnu.org>

	PR middle-end/14684
	* opts.c (OPT_fprofile_generate): Default to -funroll-loops
	to match -fprofile-use.

Co-Authored-By: Kelley Cook <kcook@gcc.gnu.org>

From-SVN: r89659
This commit is contained in:
Andreas Krebbel 2004-10-27 13:35:44 +00:00 committed by Ulrich Weigand
parent 600e1f95cf
commit 4db0315e11
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2004-10-27 Andreas Krebbel <krebbel@de.ibm.com>
patch originally created by Kelley Cook <kcook@gcc.gnu.org>
PR middle-end/14684
* opts.c (OPT_fprofile_generate): Default to -funroll-loops
to match -fprofile-use.
2004-10-27 Kazu Hirata <kazu@cs.umass.edu>
* config/rs6000/rs6000.c: Fix a comment typo.

View File

@ -854,6 +854,8 @@ common_handle_option (size_t scode, const char *arg, int value)
flag_profile_values = value;
if (!flag_value_profile_transformations_set)
flag_value_profile_transformations = value;
if (!flag_unroll_loops_set)
flag_unroll_loops = value;
#ifdef HAVE_prefetch
if (0 && !flag_speculative_prefetching_set)
flag_speculative_prefetching = value;