PR c++/56895
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 2013 19:42:33 +0000 (19:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 2013 19:42:33 +0000 (19:42 +0000)
commitcae2795e59012d95eb509587a7c44d8586a4b71f
tree14bafee9573e5728d39dea1c54d806b4cb2843c2
parent8736e88fbf9b61b020bca3d4da4248d969177b7d
PR c++/56895
* call.c (null_ptr_cst_p): Call fold_non_dependent_expr_sfinae before
calling maybe_constant_value for C++98.

* g++.dg/template/arrow4.C: New test.

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