This is the mail archive of the gcc-bugs@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]

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



------- 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


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