re PR c++/67216 (false is still a null pointer constant)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 17 Aug 2015 21:40:07 +0000 (21:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 17 Aug 2015 21:40:07 +0000 (21:40 +0000)
commit5916cfd01b73646934abf404de8528c11b842070
treeac9bf378b710ec8c5ec4243d11b1ff0baf82d0de
parentb361a15ff60daf83fc2ddccbc6166e4bd19e2b35
re PR c++/67216 (false is still a null pointer constant)

/cp
2015-08-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/67216
* call.c (null_ptr_cst_p): In C++11 return 'false' for 'false'.

/testsuite
2015-08-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/67216
* g++.dg/cpp0x/nullptr34.C: New.
* g++.dg/warn/Wconversion2.C: Adjust.
* g++.dg/warn/Wnull-conversion-1.C: Likewise.
* g++.old-deja/g++.other/null3.C: Likewise.

* g++.dg/cpp0x/pr51313.C: Adjust.

From-SVN: r226956
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nullptr34.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr51313.C
gcc/testsuite/g++.dg/warn/Wconversion2.C
gcc/testsuite/g++.dg/warn/Wnull-conversion-1.C
gcc/testsuite/g++.old-deja/g++.other/null3.C