[RFC] Introduce -Ofast
Thu May 13 21:29:00 GMT 2010
On 5/6/10 10:24 , Richard Guenther wrote:
> Any comments or objections?
I agree. It sounds useful. It's a bit confusing in that I don't know
whether it means 'compile very fast' or 'make my code run very fast'.
I've seen it mean the latter in most places, so I guess that's fine.
Allowing backends to alter the meaning of -Ofast with target-specific
switches (and even -f switches) is a good idea too.
The documentation should be clear in that -Ofast WILL produce surprising
results in non-standard code and it will also enable transformations
that do not follow the standard.
More information about the Gcc