This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7605: ICE on template instatiation
- From: reichelt at igpm dot rwth-aachen dot de
- To: dv at vollmann dot ch, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 13 Dec 2002 13:15:19 -0000
- Subject: Re: c++/7605: ICE on template instatiation
- Reply-to: reichelt at igpm dot rwth-aachen dot de, dv at vollmann dot ch, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: ICE on template instatiation
State-Changed-From-To: feedback->closed
State-Changed-By: reichelt
State-Changed-When: Fri Dec 13 05:15:18 2002
State-Changed-Why:
Your code is still ill-formed. The line
typedef typename Types<id>::Templated<Wrapped>::Allocator Allocator;
is missing a "template":
typedef typename Types<id>::template Templated<Wrapped>::Allocator Allocator;
The corrected version compiles fine with gcc 3.2.1 and
mainline. That still leaves us with an ice-on-illegal-code,.
But since there are more reports that show the same problem,
(see PR 8736, for example), I close this one as a duplicate.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7605