------- Comment #5 from frederic dot merizen at gmail dot com 2007-07-13 21:44 ------- OK. I assumed signed overflow was at least defined to yield an integer (i.e. a quantity that is consistently negative or non-negative) but that is actually not specified. I don't quite know what I'll do with our library yet. Adding lots of unsigned/signed casts is an option, but it's likely to break a lot of valid optimizations so I'll try to avoid that. Would the -fno-strict-overflow option be a valid workaround in the meantime?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32757