[Bug c++/52796] [C++11] Initialization of primitive object with 0-length parameter pack fails to value-initialize
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 23:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52796
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-03 23:37:16 UTC ---
Author: jason
Date: Tue Apr 3 23:37:11 2012
New Revision: 186121
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186121
Log:
PR c++/52796
* pt.c (tsubst_initializer_list): A pack expansion with no elements
means value-initialization.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/variadic-value1.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/pt.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list