This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is it possible to get unpartitioned LTO with Fortran?
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: AJM-2 <mcpherson dot aj at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 23 Apr 2012 16:02:07 +0200
- Subject: Re: Is it possible to get unpartitioned LTO with Fortran?
- References: <33732132.post@talk.nabble.com>
>
> Hi,
>
> I have a simple IPA pass that requires access to all function bodies in a
> program. For C and small Fortran programs doing this at link time causes no
> issues. However, when I attempt to compile a larger Fortran program the
> pass is called multiple times at link time, each time with only a portion of
> the function bodies available. Is there anyway to force unpartitioned (i.e.
> single execution) of my pass on these Fortran programs, with access to all
> the function bodies?
>
> I am using GCC 4.7 with gold linker.
-flto-partition=nonde shuld work.
Honza
>
> Cheers,
> Andrew
> --
> View this message in context: http://old.nabble.com/Is-it-possible-to-get-unpartitioned-LTO-with-Fortran--tp33732132p33732132.html
> Sent from the gcc - Dev mailing list archive at Nabble.com.