This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ICE in egcs 1.1 on mips-sgi-irix5.3
- To: egcs-bugs at cygnus dot com
- Subject: ICE in egcs 1.1 on mips-sgi-irix5.3
- From: Tim Hollebeek <tim at wagner dot princeton dot edu>
- Date: Mon, 30 Nov 1998 10:48:57 -0500 (EST)
The following short source file is derived from an ICE encountered while
attempting to compile crafty 16.1 (ftp.cis.uab.edu) on a mips-sgi-irix5.3
platform. egcs is otherwise working beautifully.
This should be pretty easy for someone familiar with the MIPS port to
track down. Feel free to contact me regarding more information
(tim@wfn-shop.princeton.edu).
----ice.c
struct tree {
int first[8192]; /* 8191 does not crash;
note that this is a 32768 byte offset */
int second[1];
} t;
extern int z;
void ice(struct tree *tree) {
tree->second[z] = 0;
}
----
% gcc -v ice.c
Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.57/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -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__ -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__ -D_SGI_SOURCE -D_LONGLONG -D_MIPS_FPSET=16 -D_MIPS_ISA=_MIPS_ISA_MIPS1 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 ice.c /var/tmp/ccKh5UtE.i
GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) [AL 1.1, MM 40] SGI running IRIX 5.x
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/mips-sgi-irix5.3/include
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.57/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.57/cc1 /var/tmp/ccKh5UtE.i -quiet -dumpbase ice.c -version -o /var/tmp/ccyASCqa.s
GNU C version egcs-2.91.57 19980901 (egcs-1.1 release) (mips-sgi-irix5.3) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
ice.c: In function `ice':
ice.c:12: internal error--unrecognizable insn:
(insn 18 16 20 (set (reg:SI 84)
(plus:SI (reg:SI 80)
(const_int 32768))) -1 (nil)
(nil))
toplev.c:1360: Internal compiler error in function fatal_insn