This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: `--syntax-only' after error
- To: donn at interix dot com (Donn Terry)
- Subject: Re: `--syntax-only' after error
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Wed, 17 Feb 1999 19:26:45 +0000 (GMT)
- Cc: 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:
>
> 1) Turn optimization level down to 0. (This probably turns off
> "unused variable" warnings, but...) That's trivial, and has
> a pretty high return, because optimization is the expensive
> part of many compilations anyway. (Turn off profiling and
> the like at the same time.)
That would have pretty much the same efffect as -fsyntax-only .