This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6347: g++3.1: SEGV in check_initializer with typename
- From: lerdsuwa at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, snyder at fnal dot gov
- Date: 24 May 2002 14:52:52 -0000
- Subject: Re: c++/6347: g++3.1: SEGV in check_initializer with typename
- Reply-to: lerdsuwa at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, snyder at fnal dot gov, gcc-gnats at gcc dot gnu dot org
Synopsis: g++3.1: SEGV in check_initializer with typename
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri May 24 07:52:50 2002
State-Changed-Why:
Confirmed. The code is illegal. Replacing the line
typename MBTChannel<Item>::ItemTraits<int>::ItemType dummy;
with the correct one
typename MBTChannel<Item>::template ItemTraits<int>::ItemType dummy;
the ICE disappears.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6347