This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: `--syntax-only' after error
- To: amylaar at cygnus dot co dot uk (Joern Rennecke)
- Subject: Re: `--syntax-only' after error
- From: Joe Buck <jbuck at Synopsys dot COM>
- Date: Wed, 17 Feb 99 11:46:34 PST
- Cc: donn at interix dot com, nik at tiuk dot ti dot com, craig at jcb-sc dot com, egcs at egcs dot cygnus dot com, peter at gerwinski dot de, frank at tim dot gerwinski dot de, jbuck at Synopsys dot COM
> > Another alternative implementation of this, if it's concluded
> > that we can't afford to lose errors in a fatal compilation:
"fatal compilation" to me suggests something like an ICE, not an illegal
construct.
> > 1) Turn optimization level down to 0. (This probably turns off
> > "unused variable" warnings, but...)
But I don't want to lose them, in the very common case where there
is a recoverable syntax error in an interior block of the first function,
and there are n more functions.