This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ 2.95.2 internal compiler error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g++ 2.95.2 internal compiler error
- From: Luca Raggi <luca at hypercatalog dot com>
- Date: Sat, 4 Mar 2000 02:36:30 -0500 (EST)
- cc: luca at mynth dot com
Dear gcc maintainers;
The enclosed file, when compiled with:
> g++ -c gcctest.cpp
Yields:
gcctest.cpp:10: Internal compiler error.
Using gcc 2.95.2 on powerpc-linux-unknown-gnu.
Note that the "friend" declaration probably doesn't abide by the standard.
Congratulations on your great work. Keep it up!
Sincerely,
Luca Raggi
template <class A> class C {
int foo;
};
class A {
class B {
typedef C<A> AA;
};
friend class B::AA;
};