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] Fix lto input clobbering bug.


I have checked that in already.  However, I agree that not generating
assembly output is the right thing. Perhaps we should do what
-fsynatx-only does with -fwpa except for the
analysis/optimisation/codegen.

-Doug

2008/10/28 Diego Novillo <dnovillo@google.com>:
> 2008/10/28 Ollie Wild <aaw@google.com>:
>
>> Wouldn't it be cleaner to just enable -fsyntax-only when -fwpa is
>> specified?  That's what Java does when outputting class files.  In
>> addition to suppressing as, it redirects the output file to /dev/null.
>
> Perhaps.  The problem I see is that -fsyntax-only implies that the
> compiler is not doing any analysis/optimization/codegen, which is not
> the case with -fwpa.  Having flag_syntax_only set has other
> side-effects that may get in the way with what we want to do in WPA.
>
> I don't really mind one way or the other.
>
>
> Diego.
>


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