re PR c++/33124 (C++ frontend should not warn about new a[0] in template context)
authorPaolo Carlini <pcarlini@suse.de>
Sun, 16 Sep 2007 22:54:12 +0000 (22:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 16 Sep 2007 22:54:12 +0000 (22:54 +0000)
commit57711cd1b32defc3c3d95be529039b30133c70e1
tree574bd1f2cca76ddd33dc33ff128bf4b3b27fa5f7
parent348eea5f00fe47fa13c235e9e93c082b8b285f97
re PR c++/33124 (C++ frontend should not warn about new a[0] in template context)

/cp
2007-09-16  Paolo Carlini  <pcarlini@suse.de>

PR c++/33124
* init.c (build_new): Remove warning for zero-element
allocations.

/testsuite
2007-09-16  Paolo Carlini  <pcarlini@suse.de>

PR c++/33124
* g++.dg/warn/new1.C: Adjust.
* g++.dg/torture/str_empty.C: Likewise.

From-SVN: r128531
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/str_empty.C
gcc/testsuite/g++.dg/warn/new1.C