[Bug c/17645] Add a warning for potentially unsafe unsigned operations
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 15 20:22:00 GMT 2005
------- Additional Comments From falk at debian dot org 2005-07-15 19:53 -------
(In reply to comment #9)
> I cannot seems to find a way to generate traps on overflow.
-ftrapv does not trigger on overflowing calculations that are compile-time
constant. I am unsure whether this is a bug or a feature.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17645
More information about the Gcc-bugs
mailing list