This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: `--syntax-only' after error



> 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 .