re PR c++/63757 (nullptr conversion sequence fails to compile)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 26 Nov 2014 20:11:16 +0000 (20:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 26 Nov 2014 20:11:16 +0000 (20:11 +0000)
commit2ad2e0afc6e7c7510c340b8de6202ed1f3f9b733
treea8b48a23accbe9fa8ddc3bd52727c75c5dfbcd3d
parent4bb0ca2d1e6a8b625788a191fe28f5698cae2344
re PR c++/63757 (nullptr conversion sequence fails to compile)

/cp
2014-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63757
* call.c (standard_conversion): Do not require expr to be non-null
when NULLPTR_TYPE_P (from) is true.

/testsuite
2014-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63757
* g++.dg/cpp0x/nullptr33.C: New.

From-SVN: r218098
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nullptr33.C [new file with mode: 0644]