This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5975: [3.3/3.4 regression] ICE with typedefs and templates
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jan 2003 17:19:43 +0100
- Subject: Re: c++/5975: [3.3/3.4 regression] ICE with typedefs and templates
The bug is fixed in mainline.
We now get:
PR5975.cc:6: error: using `typename' outside of template
PR5975.cc:6: error: `X' is not a class-name or namespace-name
PR5975.cc:6: error: expected nested-name-specifier
PR5975.cc:6: error: expected init-declarator
PR5975.cc:6: error: expected `,' or `;'
(Testcase in preparation.)
With gcc 3.3 we still ICE (after a suitable error message).
So I leave this as 3.3 regression. Others may decide whether
the "confused by earlier errors, bailing out" in the release
merits fixing.
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5975