This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32566] New: [4.3 regression] ICE with invalid specialization of variadic template
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2007 16:52:40 -0000
- Subject: [Bug c++/32566] New: [4.3 regression] ICE with invalid specialization of variadic template
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline:
============================================================
template<int...> struct A;
template<template<int> class... T> struct A<T...> {};
============================================================
bug.cc:3: error: type/value mismatch at argument 1 in template parameter list
for 'template<int <anonymous> > struct A'
bug.cc:3: internal compiler error: tree check: expected tree that contains
'decl minimal' structure, have 'type_pack_expansion' in
convert_template_argument, at cp/pt.c:4693
Please submit a full bug report, [etc.]
--
Summary: [4.3 regression] ICE with invalid specialization of
variadic template
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32566