-funsafe-loop-optimizations

Robert Dewar dewar@adacore.com
Sun Jan 2 00:35:00 GMT 2005


Giovanni Bajo wrote:

> Yes, this is why we could have a switch to disable generation of the runtime
> checks. Still, I think that the overhead of runtime checks done once per loop
> and "cold" code size increase are still bearable. I hope you will give it a
> try.

As always, the issue is not whether these increases are bearable, the issue
is whether the increases are worth while. Seems dubious in this case. Has
anyone actually seen a legitimate case (other than a test program) that
expects an infinite loop for this kind of case?



More information about the Gcc mailing list