This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Move LTO option processing to common code
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sat, 31 Oct 2009 07:50:15 -0700
- Subject: Re: [PATCH] Move LTO option processing to common code
- References: <alpine.LNX.2.00.0910311517160.4520@zhemvz.fhfr.qr>
On Sat, Oct 31, 2009 at 03:18:26PM +0100, Richard Guenther wrote:
>
> As requested from Joseph this moves LTO option processing to
> common code, -flto and -fwhopr are in common.opt already.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, ok?
>
> Thanks,
> Richard.
>
> 2009-10-31 Richard Guenther <rguenther@suse.de>
>
> * c-opts.c (c_common_post_options): Move LTO option processing
> code ...
> * opts.c (decode_options): ... here.
>
> fortran/
> * options.c (gfc_post_options): Rely on common code processing
> LTO options. Only enable -fwhole-file here.
>
The Fortran part is OK.
--
Steve