This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -funsafe-loop-optimizations


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]