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