This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39637] ICE on ill-formed sizeof(<parameter-pack>) in variadic template
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2009 08:59:18 -0000
- Subject: [Bug c++/39637] ICE on ill-formed sizeof(<parameter-pack>) in variadic template
- References: <bug-39637-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dodji at gcc dot gnu dot org 2009-04-08 08:59 -------
Subject: Bug 39637
Author: dodji
Date: Wed Apr 8 08:59:02 2009
New Revision: 145713
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145713
Log:
gcc/cp/ChangeLog:
2009-04-08 Dodji Seketeli <dodji@redhat.com>
PR c++/39637
* parser.c (cp_parser_enumerator_definition): Make sure the
initializer of the enumerator doesn't contain any bare parameter pack.
gcc/testsuite/ChangeLog
2009-04-08 Dodji Seketeli <dodji@redhat.com>
PR c++/39637
* g++.dg/cpp0x/variadic-crash2.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/cpp0x/variadic-crash2.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39637