This is the mail archive of the gcc@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]

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 .


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