egcs 1.1.2 bug with templates and typedefs
Sean C. Rhea
srhea@ibmoto.com
Wed Mar 31 13:03:00 GMT 1999
When I do:
/usr/local/bin/g++ -c foo.C
where foo.C looks like this:
template < class T >
class Base
{
public:
typedef int base_typedef;
};
template < class T >
class Derived : public Base < T >
{
public:
class InternalClass
{
InternalClass ( base_typedef x );
};
};
int main ()
{
return 0;
}
I get this:
g++: Internal compiler error: program cc1plus got fatal signal 11
A full bug report is enclosed.
Thanks,
Sean C. Rhea
egcs-1.1.2-bug-report.tar.gz
More information about the Gcc-bugs
mailing list