[Bug c++/52145] [C++11] zero-valued integer constant expression should prefer conversion to pointer
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 13:52:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-02-07 13:51:59 UTC ---
(In reply to comment #0)
The core language is in the process to make it clear, that S().n no longer is a
null-pointer constant, see
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#903
This would mean that the current behaviour is as intended. I would make the
outcome of this issue dependent on the final CWG 903 decision.
More information about the Gcc-bugs
mailing list