[Bug libstdc++/22200] numeric_limits<signed>::is_modulo is inconsistent with gcc
veksler at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 21 07:53:00 GMT 2010
------- Comment #30 from veksler at il dot ibm dot com 2010-02-21 07:52 -------
(In reply to comment #25)
> It would probably be useful to add a preprocessor macro when -fwrapv is
> in effect.
>
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200
More information about the Gcc-bugs
mailing list