[RFC] Introduce -Ofast

Dave Korn dave.korn.cygwin@googlemail.com
Fri May 7 03:46:00 GMT 2010

On 06/05/2010 21:25, Ian Lance Taylor wrote:
> Richard Guenther <rguenther@suse.de> writes:
>> This is a proposal to introduce an optimization level -Ofast
>> that can collect (target specific) optimization flags that
>> can affect runtime behavior such as -funsafe-math-optimizations
>> or -mrecip.
> Sounds like a good idea to me.  I don't like the name -Ofast, which is
> ambiguous, but I see that there is precedent in the PathScale and PGI
> compilers.  I don't think a potentially confusing name is enough of a
> reason to buck the trend.

  Maybe then we should also add -Osmall and -Of, just to be thoroughly
symmetric and orthogonal :)


More information about the Gcc mailing list