PR c++/56998
commita4dde6f12e62315c77c1744e9fee2fd53f734561
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 May 2013 19:32:42 +0000 (13 19:32 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 May 2013 19:32:42 +0000 (13 19:32 +0000)
treefdb89b360d4f13a418472311ee2954a9b37c39d6
parent65848528e7c2ba52598a143493fd6f1b591fd9c0
PR c++/56998
* call.c (null_ptr_cst_p): An expression with side-effects can't
be a C++03 null pointer constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198845 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/template/overload13.C [new file with mode: 0644]