gcc 2.95 ICE with -fno-rtti and Blitz++
Derrick E. Bass
derrick@its.caltech.edu
Thu Aug 26 23:57:00 GMT 1999
Compiling the following program causes gcc 2.95 to crash with an
internal compiler error:
#include <blitz/array.h>
main() { }
The gzip'ed uuencoded preprocessed file is just over 100K, so I've put it at
http://www.cco.caltech.edu/~derrick/gcc2.95ice1.ii.gz
The ungzipped version is at
http://www.cco.caltech.edu/~derrick/gcc2.95ice1.ii
The command line used was
g++ -I/ufs/murphy/derrick/include/blitz0.5beta -save-temps -fno-rtti -c gcc2.95ice1.cc -o gcc2.95ice1.o
In file included from /ufs/murphy/derrick/include/blitz0.5beta/blitz/array.h:2459,
from gcc2.95ice1.cc:1:
/ufs/murphy/derrick/include/blitz0.5beta/blitz/array/fastiter.h: In method `void blitz::FastArrayIterator<T_numtype,N_rank>::prettyPrint(string &, blitz::prettyPrintFormat &) const':
/ufs/murphy/derrick/include/blitz0.5beta/blitz/array/fastiter.h:178: Internal compiler error.
/ufs/murphy/derrick/include/blitz0.5beta/blitz/array/fastiter.h:178: Please submit a full bug report.
/ufs/murphy/derrick/include/blitz0.5beta/blitz/array/fastiter.h:178: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for instructions.
If you remove the -fno-rtti, it seems to work.
Derrick Bass
More information about the Gcc-bugs
mailing list