This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31434] [4.3 regression] ICE with invalid use of parameter pack in function arg
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2007 09:29:20 -0000
- Subject: [Bug c++/31434] [4.3 regression] ICE with invalid use of parameter pack in function arg
- References: <bug-31434-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jakub at gcc dot gnu dot org 2007-09-28 09:29 -------
Subject: Bug 31434
Author: jakub
Date: Fri Sep 28 09:29:08 2007
New Revision: 128861
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128861
Log:
PR c++/31434
* tree.c (cp_build_qualified_type_real): Handle TYPE_PACK_EXPANSION
qualification by creating qualified PACK_EXPANSION_PATTERN and
then calling make_pack_expansion on it.
* g++.dg/cpp0x/variadic80.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic80.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31434