------- Comment #31 from paolo dot carlini at oracle dot com 2010-02-21 09:51 ------- (In reply to comment #30) > Wouldn't it be a violation of the one definition rule (ODR), > when one translation unit is compiled with -fwrapv and another without? > In that case this would be a regression.
I don't know if this comes as a surprise to you, but in the library we have *tons* of potential violations of this type, due to command line switches, not just the big cases like debug-mode, but also rtti, exceptions, etc. That said, if people prefer a false value, always, just tell me and let's close this PR because I don't think the compiler is going to change any time soon to warrant a true value irrespective of any command line option ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200