This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]