IRIX bug in output_die

Ben Sapp bsapp@nua.lampf.lanl.gov
Wed Mar 22 14:40:00 GMT 2000


This occured during the compilation of GiNaC( http://www.ginac.de ) on an
IRIX 6.5 machine with gcc-2.95.2.  I have put a tar file on the web at
http://www.neutrino.lanl.gov/~bsapp/gcc/ginac.tar.gz .  It is to big to
put on the mailing list.   Once you have unpacked the archive you can
duplicate the error like so, 

------------------------------------------------------------------
nua: ~/tmp/ginac 22 % c++ -v --save-temps -DHAVE_CONFIG_H -I. -g -O2 -c
-DPIC numeric.cpp
 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 -I.
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -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__EXCEPTIONS -D__CHAR_UNSIGNED__
-D__OPTIMIZE__ -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 -DHAVE_CONFIG_H
-DPIC numeric.cpp numeric.ii
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:
 .

/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/../../../../include/g++-3
 /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:
End of omitted list.
 /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/cc1plus numeric.ii
-quiet -dumpbase numeric.cc -g -O2 -version -o numeric.s
GNU C++ version 2.95.2 19991024 (release) (mips-sgi-irix6.5) compiled by
GNU C version 2.95.2 19991024 (release).
numeric.cpp:1439: Internal compiler error in `output_die', at
dwarf2out.c:5426
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
--------------------------------------------------------------------------------------

If I change the optimization from -O2 to -O or -O3  it still reports
this bug. If I try it without any optimization it succeeds. :) The
temporary files in the archive are from using the -O2 option.    

I think that is every thing.  If you need any more help or information
let me know.  

Thanks.  

P.S. I am not on this list so any thing you want me to see needs to be
sent directly to me.
  
-- 
Ben Sapp                         Los Alamos National Laboratory
email: < mailto:bsapp@lanl.gov >   Phone: (505)667-3277
Fax:   (505)665-7920             URL:   http://www.neutrino.lanl.gov/
--


More information about the Gcc-bugs mailing list