diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2007-08-31 19:18:20 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2007-08-31 19:18:20 +0000 |
commit | 268127ceca311ea64ed5b67d544eea8b670f4507 (patch) | |
tree | 2f99d34ff51b2a0d4c2f5bf980a91ec2f1f8397d /libjava/classpath | |
parent | 1ab28be5966d14e3981692007b1c8aecfc7577d1 (diff) | |
download | gcc-268127ceca311ea64ed5b67d544eea8b670f4507.zip gcc-268127ceca311ea64ed5b67d544eea8b670f4507.tar.gz gcc-268127ceca311ea64ed5b67d544eea8b670f4507.tar.bz2 |
re PR c++/32597 (New operation with empty parameter pack does not value-initialize)
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
PR c++/32597
* init.c (build_default_init): Make extern.
* cp-tree.h (build_default_init): Declare here.
* pt.c (tsubst_expr): When the instantiation of the initializer of
a variable results in an empty list, default-initialize the
variable.
(tsubst_copy_and_build): When the instantiation of the initializer
in a new expression results in an empty initializer list,
default-initialize it.
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
PR c++/32597
* gcc/testsuite/g++.dg/cpp0x/variadic-new2.C: New.
* gcc/testsuite/g++.dg/cpp0x/variadic-new.C: New.
From-SVN: r128000
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions