This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] profiledbootstrap
- From: Jan Hubicka <jh at suse dot cz>
- To: Andreas Krebbel <krebbel1 at de dot ibm dot com>
- Cc: jh at suse dot cz, gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Oct 2004 14:43:12 +0200
- Subject: Re: [PATCH] profiledbootstrap
- References: <20041027123538.GA9011@de.ibm.com>
> Hi Jan,
>
> profiledbootstrap still does not work (at least on i386 and s390) due to
> PR 14684. The patch proposed in the PR by Kelley Cook was not applied on mainline.
>
> I've limited the patch to enable only -funroll-loops as you suggested in the PR.
> With the patch applied profiledbootstrap survives on i386 and s390.
>
>
> OK?
OK, thanks!
Honza
>
> Bye,
>
> -Andreas-
>
> 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.
>
> Index: gcc/opts.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/opts.c,v
> retrieving revision 1.83
> diff -p -c -r1.83 opts.c
> *** gcc/opts.c 14 Oct 2004 18:29:17 -0000 1.83
> --- gcc/opts.c 27 Oct 2004 11:13:52 -0000
> *************** common_handle_option (size_t scode, cons
> *** 854,859 ****
> --- 854,861 ----
> 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;