This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Solaris 2.5.1, gcc version 2.96 20000803; ICE
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Solaris 2.5.1, gcc version 2.96 20000803; ICE
- From: Jim McKelvey <mckelvey at bean dot jpl dot nasa dot gov>
- Date: Thu, 3 Aug 2000 11:11:59 -0700 (PDT)
Code below core dumps compiler if both -ansi and -pedantic are specified.
mushroom...PM>g++ -fsquangle -c -ansi -pedantic -save-temps -v Instantiate.cc
Reading specs from
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/specs
gcc version 2.96 20000803 (experimental)
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/cpp0 -lang-c++ -D__GNUG__=2 -trigraphs -$ -D__STRICT_ANSI__ -v
-D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__sparc__ -D__sun__
-D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix)
-Asystem(svr4) -pedantic -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)
Instantiate.cc Instantiate.ii
GNU CPP version 2.96 20000803 (experimental) (cpplib)
(sparc)
#include "..." search starts here:
#include <...> search starts here:
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/include/g++-3
/usr/local/include
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/include
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/sparc-sun-solaris2.5.1/include
/usr/include
End of search list.
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/cc1plus Instantiate.ii -quiet -dumpbase Instantiate.cc -ansi -pedantic
-ansi -version -fsquangle -o Instantiate.s
GNU C++ version 2.96 20000803 (experimental) (sparc-sun-solaris2.5.1) compiled
by GNU C version 2.96 20000803 (experimental).
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/include/g++-3/stl_vector.h: In
method `size_t
vector<_Tp, _Alloc>::size () const [with _Tp = Scalar, _Alloc =
allocator<Scalar>]':
Instantiate.cc:107: instantiated from here
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/include/g++-3/stl_vector.h:210
: Internal error:
Segmentation Fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
mushroom...PM>
Instantiate.ii.bz2
Instantiate.s.bz2