This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/3] Implement -flto-slim
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc-patches at gcc dot gnu dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Tue, 2 Nov 2010 12:05:58 +0100
- Subject: Re: [PATCH 2/3] Implement -flto-slim
- References: <1287241747-2496-1-git-send-email-andi@firstfloor.org> <1287241747-2496-2-git-send-email-andi@firstfloor.org> <1287241747-2496-3-git-send-email-andi@firstfloor.org> <4CCFEF92.4030204@google.com>
On Tue, Nov 2, 2010 at 12:01 PM, Diego Novillo <dnovillo@google.com> wrote:
> On 10-10-16 11:09 , Andi Kleen wrote:
>
>> +@item -flto-slim
>> +Only generate LTO output, no assembler. The result is that the assembler
>> +code is only generated once for a LTO build. This flag is ignored for the
>> LTO
>> +frontend. Will only work with the @option{-fuse-linker-plugin} and
>> +with the @command{gold} linker.
>
> s/Will only/This option will only/
>
> The patch looks fine, but the option is currently not tested. ?Could you add
> it to LTO_OPTIONS in testsuite/lib/lto.exp:lto_init ?
Hm, it won't work without the linker plugin, will it? So it's not that easy.
Richard.
>
> Diego.
>