This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error 9. . .
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error 9. . .
- From: Derrick Bass <derrick at tapir dot Caltech dot EDU>
- Date: Tue, 19 May 1998 00:56:03 -0700
The following file:
template<int N>
int fib<N>() {
return fib<N-1> + fib<N-2>;
}
crashed egcs-1.0.3a as follows:
lenny[379]~/gnu/egcs-1.0.3a/bin/g++ -v -c egcsbug.cc
Reading specs from /ufs/murphy/derrick/gnu/egcs-1.0.3a/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
/ufs/murphy/derrick/gnu/egcs-1.0.3a/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.90.29/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -Di386 -D__ELF__ -Dunix -Dlinux -D__i386__ -D__ELF__ -D__unix__ -D__linux__ -D__i386 -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Di386 -Di686 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i686__ -Asystem(unix) -Acpu(i386) -Amachine(i386) egcsbug.cc /tmp/cca12253.ii
GNU CPP version egcs-2.90.29 980515 (egcs-1.0.3 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/ufs/murphy/derrick/gnu/egcs-1.0.3a/include/g++
/usr/local/include
/ufs/murphy/derrick/gnu/egcs-1.0.3a/i686-pc-linux-gnulibc1/include
/ufs/murphy/derrick/gnu/egcs-1.0.3a/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.90.29/include
/usr/include
End of search list.
/ufs/murphy/derrick/gnu/egcs-1.0.3a/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.90.29/cc1plus /tmp/cca12253.ii -quiet -dumpbase egcsbug.cc -version -o /tmp/cca12253.s
GNU C++ version egcs-2.90.29 980515 (egcs-1.0.3 release) (i686-pc-linux-gnulibc1) compiled by GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release).
egcsbug.cc:2: Internal compiler error 9.
egcsbug.cc:2: Please submit a full bug report to `egcs-bugs@cygnus.com'.