-funsafe-loop-optimizations
Robert Dewar
dewar@adacore.com
Sat Jan 1 22:52:00 GMT 2005
Dale Johannesen wrote:
> The limit in the standard is 64K-1 bytes, but as a practical matter it
> would
> certainly be wise to pick a larger limit, possibly target-dependent.
One other approach is to do a timing analysis which shows that in practice
the limit where the loop goes infinite cannot be reached. This may work in
the 64-bit case, unfortunately modern machines have got so blithering fast
that it is unlikely you can apply this in the 32-bit case.
More information about the Gcc
mailing list