-funsafe-loop-optimizations

Richard Henderson rth@redhat.com
Sat Jan 1 10:12:00 GMT 2005


On Sat, Jan 01, 2005 at 12:43:03AM -0500, David Edelsohn wrote:
> 	While we discuss whether this should be the default or enabled at
> any optimization level, can we agree that users should be able to assert
> with a commandline option that they want less strict induction variable
> semantics?

And/or a -W option that warns for these sorts of loops so that
(a) we can see how often this happens, really, (b) so that users
can fix the presumed mistake.


r~



More information about the Gcc mailing list