This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

IRIX - old bug reintroduced


Alexandre Oliva gave the example

/* compile this with -O3 to see if the compiler dies */

struct {
  unsigned __sigbits[4];
} signal_setmask() {}
 
void handler() {
  signal_setmask();           
}  

gcc -v -O3 bug.c
gives
Reading specs from /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.96/specs
gcc version 2.96 20000221 (experimental) <=================================
 /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.96/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -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__ -D__OPTIMIZE__ -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 Bug_old.c /var/tmp/ccbdGqaV.i
GNU CPP version 2.96 20000221 (experimental) (cpplib)
 [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
 /usr/LOCAL/include
 /usr/LOCAL/mips-sgi-irix6.5/include
 /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.96/include
 /usr/include
End of search list.
 /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.96/cc1 /var/tmp/ccbdGqaV.i -quiet -dumpbase Bug_old.c -O3 -version -o /var/tmp/cc0H3PPN.s
GNU C version 2.96 20000221 (experimental) (mips-sgi-irix6.5) compiled by GNU C version 2.96 20000221 (experimental).
Bug_old.c: In function `signal_setmask':
Bug_old.c:10: Internal compiler error in `mark_reg', at flow.c:2860
Please submit a full bug report.

-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]