OSDN Git Service

* call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Apr 2006 16:47:40 +0000 (16:47 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Apr 2006 16:47:40 +0000 (16:47 +0000)
commitea9557c6c9cdc849864f0abc25e20b2a0e49e8dc
treefd7a3c08d7f0205a9ddb7c18a52a076dcc41e6f4
parent3f4feb44c143eefd987a2c0dffb10c7be75c691a
* call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.

* g++.dg/conversion/nullptr1.C: New test case.
* g++.dg/conversion/nullptr2.C: Likewise.

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