re PR c++/56998 (ICE in value_dependent_expression_p, at cp/pt.c:19598)
authorJason Merrill <jason@redhat.com>
Mon, 13 May 2013 19:32:42 +0000 (15:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 May 2013 19:32:42 +0000 (15:32 -0400)
commit7c0b157d7cd49c57b769726e6838359014512e73
treefdb89b360d4f13a418472311ee2954a9b37c39d6
parent783faa4728c59b3ec494ebfc1a6a08597c085756
re PR c++/56998 (ICE in value_dependent_expression_p, at cp/pt.c:19598)

PR c++/56998
* call.c (null_ptr_cst_p): An expression with side-effects can't
be a C++03 null pointer constant.

From-SVN: r198845
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/template/overload13.C [new file with mode: 0644]