-fwhopr and -flto options reorg

H.J. Lu hjl.tools@gmail.com
Thu Nov 11 23:38:00 GMT 2010


On Thu, Nov 11, 2010 at 10:01 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> Hi,
> this patch does the change discussed on gcc summit converting -fwhopr to -flto.
> -flto=n and -flto=jobserv syntax is supported.
> -flto can be done by -flto-partition=none -flto.
>
> I did not made other changes, like enabling linker plugin by default or autodetecting
> jobserv as this is boring and large enough already.
>
> Bootstrapped/regtested x86_64-linux, OK?
>
> Honza
>
>        * doc/invoke.texi (-fwhopr): Merge into -flto section.
>        (-flto-partition): Document none.
>        * flags.h (flag_whopr): Declare.
>        * gcc.c (LINK_COMMAND_SPEC): Remove -fwhopr.
>        * toplev.c (flag_whopr): Define.
>        * lto-wrapper.c: Update comment.
>        (run_gcc): Update LTO option parsing.
>        * opts.c (finish_options): -flto really enables flag_whopr;
>        add support -flto-partition=none
>        (common_handle_option): Remove fwhopr.
>        * common.opt: Turn fwhopr into flto.
>        * collect2.c (main): Update option handling.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46442

H.J.



More information about the Gcc-patches mailing list