This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix lto input clobbering bug.
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.