From 3020563ae2865bc728ad4f113dfd36e6b0bb764a Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 14 Oct 2004 18:29:17 +0000 Subject: [PATCH] opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use. * opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use. From-SVN: r89046 --- gcc/ChangeLog | 5 +++++ gcc/opts.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9762b14e370..221ebc4bd63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-14 David Edelsohn + + * opts.c (common_handle_option): Do not enable + flag_speculative_prefetching for -fprofile-generate/use. + 2004-10-14 Devang Patel PR 17635 diff --git a/gcc/opts.c b/gcc/opts.c index d570b8fe7f0..b88c5039a42 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -842,7 +842,7 @@ common_handle_option (size_t scode, const char *arg, int value) if (!flag_value_profile_transformations_set) flag_value_profile_transformations = value; #ifdef HAVE_prefetch - if (!flag_speculative_prefetching_set) + if (0 && !flag_speculative_prefetching_set) flag_speculative_prefetching = value; #endif break; @@ -855,7 +855,7 @@ common_handle_option (size_t scode, const char *arg, int value) if (!flag_value_profile_transformations_set) flag_value_profile_transformations = value; #ifdef HAVE_prefetch - if (!flag_speculative_prefetching_set) + if (0 && !flag_speculative_prefetching_set) flag_speculative_prefetching = value; #endif break;