This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/1585: An ICE caused by an illegal template definition
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1585: An ICE caused by an illegal template definition
- From: warp at iki dot fi
- Date: 8 Jan 2001 16:13:41 -0000
- Reply-To: warp at iki dot fi
>Number: 1585
>Category: c++
>Synopsis: An ICE caused by an illegal template definition
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Mon Jan 08 08:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Juha Nieminen
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
SunOS sarakerttunen 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-5_10
>Description:
g++ causes an internal compiler error with an illegal
template definition (specified below). The error is just
the regular one:
bug.cc:1: Internal compiler error.
bug.cc:1: Please submit a full bug report.
bug.cc:1: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
>How-To-Repeat:
template<template<> class C>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cc"
dGVtcGxhdGU8dGVtcGxhdGU8PiBjbGFzcyBDPgo=