This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51541] New: ICE on ill-formed alias template declarations
- From: "richard-gccbugzilla at metafoo dot co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2011 23:20:53 +0000
- Subject: [Bug c++/51541] New: ICE on ill-formed alias template declarations
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51541
Bug #: 51541
Summary: ICE on ill-formed alias template declarations
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: richard-gccbugzilla@metafoo.co.uk
The following tests from clang's alias templates testsuite all cause g++ svn to
ICE:
template<typename Z> using ::T = void(int n);
template<typename Z> using operator int = void(int n);
template<typename Z> using typename U = void;
template<typename Z> using typename ::V = void(int n);
template<typename Z> using typename ::operator bool = void(int n);
tmp.cpp:1:28: internal compiler error: in make_id_declarator, at
cp/parser.c:1270