OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2007 11:08:27 +0000 (11:08 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2007 11:08:27 +0000 (11:08 +0000)
commit7a1eab9a80fa1536416212d23e43710d174e4ef7
tree503acabc1c43a65ac6911adf51904ed5cf9e3a08
parent0e87db7686d9c74f1caec1ec1ae828a7f92a3ebe
/cp
2007-07-24  Paolo Carlini  <pcarlini@suse.de>

PR c++/29001
* typeck.c (check_return_expr): Do not pass a null argument
to null_ptr_cst_p.

2007-07-24  Paolo Carlini  <pcarlini@suse.de>

PR c++/32561
* decl.c (redeclaration_error_message): Call DECL_ANON_UNION_VAR_P
only on VAR_DECL.

/testsuite
2007-07-24  Paolo Carlini  <pcarlini@suse.de>

PR c++/29001
* g++.dg/init/new22.C: New.

2007-07-24  Paolo Carlini  <pcarlini@suse.de>

PR c++/32561
* g++.dg/template/crash67.C: New.

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