This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
Friend Template Internal compiler error g++ (egcs-2.91.60) x86
- To: "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>
- Subject: Friend Template Internal compiler error g++ (egcs-2.91.60) x86
- From: "Agrawal, Mukesh" <mukesh.agrawal@intel.com>
- Date: Fri, 30 Jul 1999 14:09:54 -0700
The following code causes an internal compiler error:
class foo {
template<class bar> friend class bar;
}
main() {
}
command line: g++ bugger.cc
compiler: g++ (egcs-2.91.60), x86 linux (debian)
error msg
bugger.cc:2: Internal compiler error.
bugger.cc:2: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
bugger.cc:2: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.
I'm not sure what the purpose of such a declaration would be, but I stumbled
across the error, and figured I might as well send it on in.
<<Bugger.tar.bz2>>
Bugger.tar.bz2