]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/52796 ([C++11] Initialization of primitive object with 0-length parameter...
authorJason Merrill <jason@redhat.com>
Tue, 3 Apr 2012 22:51:08 +0000 (18:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Apr 2012 22:51:08 +0000 (18:51 -0400)
commitf6f1732755cba4f352899e0517982eae5bf07e56
tree83c68297a6013179e23821f123e508b58e4deddb
parent468b813612caca38397e6c87f6f6edcf83275cee
re PR c++/52796 ([C++11] Initialization of primitive object with 0-length parameter pack fails to value-initialize)

PR c++/52796
* pt.c (tsubst_initializer_list): A pack expansion with no elements
means value-initialization.

From-SVN: r186120
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-value1.C [new file with mode: 0644]