This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95.2, mips-sgi-irix6.5 (Internal compiler error in `gen_label_die', at dwarf2out.c:8726)
- To: bug-gcc at gnu dot org
- Subject: gcc 2.95.2, mips-sgi-irix6.5 (Internal compiler error in `gen_label_die', at dwarf2out.c:8726)
- From: Soeren Sandmann <sandmann at daimi dot au dot dk>
- Date: 10 Aug 2000 18:49:50 +0200
I managed to crash gcc 2.95.2. Below is the result of following the
instructions on
http://www.gnu.org/software/gcc/bugs.html
(except that I did not compress the .i file).
Søren Sandmann
bonestell:~/tmp% gcc -v --save-temps -g gccbug.c
Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix -D__mips -D__sgi -D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi) -D__CHAR_UNSIGNED__ -g -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__ -D_SGI_SOURCE -D_MIPS_FPSET=32 -D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2 -D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_COMPILER_VERSION=601 -U__mips -D__mips=3 -D__mips64 gccbug.c gccbug.i
GNU CPP version 2.95.2 19991024 (release) [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
.
/users/sandmann/vertigo/usr/include
/usr/local/include
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/../../../../mips-sgi-irix6.5/include
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/../../../../include/g++-3
End of omitted list.
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/cc1 gccbug.i -quiet -dumpbase gccbug.c -g -version -o gccbug.s
GNU C version 2.95.2 19991024 (release) (mips-sgi-irix6.5) compiled by GNU C version 2.95.2 19991024 (release).
gccbug.c: In function `main':
gccbug.c:6: label `nowhere' used but not defined
gccbug.c:7: Internal compiler error in `gen_label_die', at dwarf2out.c:8726
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
gccbug.i:
# 1 "gccbug.c"
int main ()
{
if (1)
;
else
goto nowhere;
}