This is the mail archive of the gcc-patches@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: [CFG] Loop unrolling


 In message <20020228083032.GC706@atrey.karlin.mff.cuni.cz>, Jan Hubicka 
writes:
 > Signed counters are undefined on overflow, but unfortunately enought we
 > don't have that information at unroll time, so we must be conservative.
Also be aware that while technically invalid, some code has been very
sensitive to overflows in the loop optimizer -- specifically the Linux
kernel.  Avoiding an overflow issue is precisely why the linux kernel
builds with -fno-strength-reduce.

Be very very very careful with assuming that we can safely overflow.

jeff


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