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


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?


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