This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
internal compiler error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: internal compiler error
- From: Trevor Spiteri <tbspit at eng dot um dot edu dot mt>
- Date: Thu, 16 Dec 1999 11:00:08 +0100 (MET)
The file error.ii follows:
# 1 "error.cc"
template <class T>
class c {
template <class U>
friend void f<U>();
};
void v()
{
c<void> C;
}
On giving the command:
g++ -v -S error.ii
I get the following error:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1plus error.ii -quiet -version -o error.s
GNU C++ version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386-redhat-linux) compiled by GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
g++: Internal compiler error: program cc1plus got fatal signal 11