Solaris 2.5.1,gcc 20000501, ICE with -O -pedantic and -fsquangle

Jim McKelvey mckelvey@bean.jpl.nasa.gov
Thu May 4 14:59:00 GMT 2000


Trying -fsquangle to get around a previously reported assembler error, I got
this ICE. It requires both -O and -pedantic.

mushroom...PM>g++ -c -fsquangle  -pedantic -O  -v -save-temps SymbolTable.cc
Reading specs from 
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/specs
gcc version 2.96 20000501 (experimental)
 
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 
-D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 
-D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix 
-Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__OPTIMIZE__ -pedantic 
-D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) SymbolTable.cc 
SymbolTable.ii
GNU CPP version 2.96 20000501 (experimental) (cpplib)
 (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3
 /usr/local/include
 
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/include
 
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/sparc-sun-solaris2.5.1/includ
e
 /usr/include
End of search list.
 
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/cc1plus SymbolTable.ii -quiet -dumpbase SymbolTable.cc -O -pedantic 
-version -fsquangle -o SymbolTable.s
GNU C++ version 2.96 20000501 (experimental) (sparc-sun-solaris2.5.1) compiled 
by GNU C version 2.96 20000501 (experimental).
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h: 
In instantiation of `_Vector_alloc_base<PatternMaster::Scalar, 
allocator<PatternMaster::Scalar>, true>':
SymbolTable.cc:158:   instantiated from `_Vector_base<PatternMaster::Scalar, 
allocator<PatternMaster::Scalar> >'
SymbolTable.cc:158:   instantiated from `vector<PatternMaster::Scalar, 
allocator<PatternMaster::Scalar> >'
SymbolTable.cc:158:   instantiated from here
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: Internal compiler
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: error.
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: Please submit a full
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: bug report.
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: See
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: <URL: http://www.gnu.org/software/gcc/bugs.html >
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3/stl_bvector.h:0
: for instructions.
mushroom...PM>
debug.tar.bz2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.tar.bz2
Type: application/x-bzip2
Size: 45928 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000504/1922425d/attachment.bz2>


More information about the Gcc-bugs mailing list