This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto] PATCH: move -fwpa/-fltrans to lto1


On Thu, Oct 2, 2008 at 05:37, Ollie Wild <aaw@google.com> wrote:

> While I'm at it, this patch also moves -flto out of the common options
> file, making it C/C++ specific.  Let's face it, by the time this
> merges to mainline, we won't support any other languages, and -flto is
> incompatible with -fwpa/-fltrans in the lto front end.

Agreed.  Other front ends will should be trivially supported when we
add a proper type system to gimple, but for now it's not something we
can easily support.

> 2008-10-02  Ollie Wild  <aaw@google.com>
>
>        * lang.opt (fltrans): Moved from common.opt.  Remove RejectNegative
>        and Init.
>        (fwpa): Moved from common.opt.  Remove RejectNegative and Init.
>        * lto-lang.c (lto_post_options): Add validation and fixups for
>        -fltrans and -fwpa.
>
> 2008-10-02  Ollie Wild  <aaw@google.com>
>
>        * c.opt (flto): Moved from common.opt.  Remove RejectNegative.
>        * common.opt (flto): Moved to c.opt.
>        (fltrans): Moved to lto/lang.opt.
>        (fwpa): Moved to lto/lang.opt.
>        * opts.c (common_handle_option): Remove -fltrans and -fwpa validation.

OK, thanks.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]