OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2012 21:06:42 +0000 (21:06 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2012 21:06:42 +0000 (21:06 +0000)
commitaa4e53f8fb628dbd9e9423d342267d5e823343a2
tree2efe67d33063cbf892e9cf4fe76bc2a9aecff803
parent8dde39681a9d3de029db5be71c462b16b0b3d69c
/cp
2012-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53301
* decl.c (check_default_argument): Fix typo (POINTER_TYPE_P
instead of TYPE_PTR_P) in zero-as-null-pointer-constant warning.

/testsuite
2012-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53301
* g++.dg/warn/Wzero-as-null-pointer-constant-6.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187378 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-6.C [new file with mode: 0644]