[Bug c/30475] assert(int+100 > int) optimized away

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 16 04:47:00 GMT 2007



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-01-16 04:47 -------
I forgot to mention GCC already has an option to trap on every signed overflow,
-ftrapv, which might be faster than doing it by hand.


-- 


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



More information about the Gcc-bugs mailing list