[Bug c++/15679] New: template ICE
dfredoui at irisa dot fr
gcc-bugzilla@gcc.gnu.org
Thu May 27 19:48:00 GMT 2004
// Here is the simplified test case that leads to the ICE
// I do think it is legal code, but perhaps I am wrong.
// My platform is :
// SunOS Release 5.8 Version Generic_108528-20 [UNIX(R) System V Release 4.0]
// on a sparc SunBlade 2500
// The resulting line of compilation is:
// ----->>
// bug.cpp:6: internal compiler error: in grokdeclarator, at cp/decl.c:10291
// Please submit a full bug report,
// with preprocessed source if appropriate.
// See <URL:http://gcc.gnu.org/bugs.html> for instructions.
// -----<<
struct foo1{
template<typename T> struct foo2{};
};
struct foo3 {
typedef foo1::template foo2<int> foo2int;
};
--
Summary: template ICE
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfredoui at irisa dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15679
More information about the Gcc-bugs
mailing list