This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error.
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error.
- From: Andreas Knüpfer <knuepfer at atlantis dot wh2 dot tu-dresden dot de>
- Date: Fri, 16 Jun 2000 12:33:29 +0200
hello,
found an internal compiler error in g++ while accessing the std::vector
procs
like
procs.stack.push( symbols[c].number );
instead of
procs[d].stack.push( symbols[c].number );
.
*.ii is attached.
> g++ -v --save-temps -O3 -Wall -c gcct2vpt_main.cpp
Reading specs from
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/cpp -lang-c++ -v
-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__ -Wall -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 gcct2vpt_main.cpp
gcct2vpt_main.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/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/include/g++
/usr/local/include
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/../../../../mips-sgi-irix6.2/include
End of omitted list.
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/cc1plus
gcct2vpt_main.ii -quiet -dumpbase gcct2vpt_main.cc -O3 -Wall -version -o
gcct2vpt_main.s
GNU C++ version 2.95.2 19991024 (release) (mips-sgi-irix6.2) compiled by
GNU C version 2.95.2 19991024 (release).
gcct2vpt_main.cpp: In function `void process()':
gcct2vpt_main.cpp:230: warning: int format, pointer arg (arg 5)
gcct2vpt_main.cpp:240: Internal compiler error.
gcct2vpt_main.cpp:240: Please submit a full bug report.
gcct2vpt_main.cpp:240: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
gcct2vpt_main.ii.gz