re PR c++/69958 (sizeof... computes wrong size)
authorJason Merrill <jason@redhat.com>
Fri, 26 Feb 2016 19:54:33 +0000 (14:54 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 26 Feb 2016 19:54:33 +0000 (14:54 -0500)
commit56cde07776d4b652dbd05066b5fed7ab28c294c2
tree90c3696d72c4caa343b19adf28bcdfc121eee738
parent622174b20dfaa584abcf950c89aaa1843b146669
re PR c++/69958 (sizeof... computes wrong size)

PR c++/69958
* pt.c (make_argument_pack): New.
(tsubst_copy) [SIZEOF_EXPR]: Handle partial expansion.
(tsubst_copy_and_build): Likewise.

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