[Bug c/37067] gcc creating wrong code with -O2

stefan dot bruens at rwth-aachen dot de gcc-bugzilla@gcc.gnu.org
Sat Aug 9 20:57:00 GMT 2008



------- Comment #6 from stefan dot bruens at rwth-aachen dot de  2008-08-09 20:56 -------
So is there any possibility to flag a variable to be expected to overflow and
"wrap around"? I think there is a lot of code in the wild assuming the loop to
run 100000 times and d_phase to overflow all the time, becoming negative.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067



More information about the Gcc-bugs mailing list