[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug c++/32566] New: [4.3 regression] ICE with invalid specialization of variadic template
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2007-06-30 16:52:40
Message-ID: bug-32566-1771 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic