[PATCH 2/3] Implement -flto-slim

Diego Novillo dnovillo@google.com
Tue Nov 2 11:03:00 GMT 2010


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 ?


Diego.



More information about the Gcc-patches mailing list