This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Template crash with 20/03/00 snapshot and -O2


The version of GCC: 2.96 (snapshot March, 20th)
The platform: SGI IRIX 6.5 (ABI 64)
Gcc has been compiled which 2.95.1 then with itself.

When compiling with option -O2 there is an internal error.
The compilation is successful with either:

gcc 2.95.1 and -O2
gcc 2.96   without -O2

The preprocessed file has been refused by your mailer,
its size is 300Kb. Let me know if you want it.

The output of the compiler is attached as log

Thanks for your work,
Regards.

-MP-
	g++ -D_ELSA_COMPILER_GCC_ -v -I../../inc -I/home/poinot/Wksp/Src/Dist/inc -I/home/poinot/Wksp/Src/elsA/inc     -DCFLAGS=\"`echo -O2 | sed -e 's; ;_;g'`\" -DFFLAGS=\"`echo -O3 | sed -e 's; ;_;g'`\" -DE_DAMAS -w -IApi -I. -I/tools/py/64/lib/python1.5/config -I/tools/py/64/include/python1.5 -I/tools/py/include/python1.5  -I.. -I/home/poinot/Wksp/Src/Dist/inc -I/tools/py/64 -I/home/poinot/Wksp/Src/Dist/inc -DE_TEMPLATEGCC -O2  -o Obj/gcc_optimize/Cfd/DesCfdSys.o -c Obj/gcc_optimize/Cfd/DesCfdSys.C 
Reading specs from /home/poinot/Wksp/Tools/lib/gcc-lib/mips-sgi-irix6.5/2.96/specs
gcc version 2.96 20000320 (experimental)
 /home/poinot/Wksp/Tools/lib/gcc-lib/mips-sgi-irix6.5/2.96/cpp -lang-c++ -v -I../../inc -I/home/poinot/Wksp/Src/Dist/inc -I/home/poinot/Wksp/Src/elsA/inc -IApi -I. -I/tools/py/64/lib/python1.5/config -I/tools/py/64/include/python1.5 -I/tools/py/include/python1.5 -I.. -I/home/poinot/Wksp/Src/Dist/inc -I/tools/py/64 -I/home/poinot/Wksp/Src/Dist/inc -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -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__ -w -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS -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 -D_ELSA_COMPILER_GCC_ -DCFLAGS="-O2" -DFFLAGS="-O3" -DE_DAMAS -DE_TEMPLATEGCC Obj/gcc_optimize/Cfd/DesCfdSys.C /var/tmp/ccjjNPlB.ii
GNU CPP version 2.96 20000320 (experimental) (cpplib)
 [AL 1.1, MM 40] SGI running IRIX 6.x
ignoring nonexistent directory `Api'
ignoring duplicate directory `/home/poinot/Wksp/Src/elsA/inc'
ignoring duplicate directory `..'
ignoring duplicate directory `/home/poinot/Wksp/Src/Dist/inc'
ignoring duplicate directory `/home/poinot/Wksp/Src/Dist/inc'
#include "..." search starts here:
#include <...> search starts here:
 ../../inc
 /home/poinot/Wksp/Src/Dist/inc
 .
 /tools/py/64/lib/python1.5/config
 /tools/py/64/include/python1.5
 /tools/py/include/python1.5
 /tools/py/64
 /home/poinot/Wksp/Tools/include/g++-3
 /home/poinot/Wksp/Tools/include
 /home/poinot/Wksp/Tools/lib/gcc-lib/mips-sgi-irix6.5/2.96/include
 /home/poinot/Wksp/Tools/mips-sgi-irix6.5/include
 /usr/include
End of search list.
 /home/poinot/Wksp/Tools/lib/gcc-lib/mips-sgi-irix6.5/2.96/cc1plus /var/tmp/ccjjNPlB.ii -quiet -dumpbase DesCfdSys.cc -O2 -w -version -o /var/tmp/ccGPCdzC.s
GNU C++ version 2.96 20000320 (experimental) (mips-sgi-irix6.5) compiled by GNU C version 2.95.1 19990816 (release).
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: In method `_Rb_tree_node<_Value> *_Rb_tree<_Key,
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: _Value, _KeyOfValue, _Compare, _Alloc>::_M_copy
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: (_Rb_tree_node<_Value> *, _Rb_tree_node<_Value> *)
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: [with _Key = E_Int, _Value = pair<const E_Int,
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: E_Int>, _KeyOfValue = _Select1st<pair<const E_Int,
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: E_Int> >, _Compare = less<E_Int>, _Alloc =
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h: allocator<E_Int>]':
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:664:   instantiated from `_Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>::_Rb_tree (const _Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc> &) [with _Key = E_Int, _Value = pair<const E_Int, E_Int>, _KeyOfValue = _Select1st<pair<const E_Int, E_Int> >, _Compare = less<E_Int>, _Alloc = allocator<E_Int>]'
/home/poinot/Wksp/Tools/include/g++-3/stl_map.h:125:   instantiated from `map<_Key, _Tp, _Compare, _Alloc>::map (const map<_Key, _Tp, _Compare, _Alloc> &) [with _Key = E_Int, _Tp = E_Int, _Compare = less<E_Int>, _Alloc = allocator<E_Int>]'
/home/poinot/Wksp/Tools/include/g++-3/stl_construct.h:48:   instantiated from `construct (_T1 *, const _T2 &) [with _T1 = map<E_Int, E_Int, less<E_Int>, allocator<E_Int> >, _T2 = map<E_Int, E_Int, less<E_Int>, allocator<E_Int> >]'
/home/poinot/Wksp/Tools/include/g++-3/stl_uninitialized.h:199:   instantiated from `__uninitialized_fill_n_aux (_ForwardIter, _Size, const _Tp &, __false_type) [with _ForwardIter = map<E_Int, E_Int, less<E_Int>, allocator<E_Int> > *, _Size = unsigned int, _Tp = map<E_Int, E_Int, less<E_Int>, allocator<E_Int> >]'
/home/poinot/Wksp/Tools/include/g++-3/stl_uninitialized.h:210:   instantiated from here
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:591: Internal compiler error 19990828.
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:591: Please submit a full bug report.
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:591: See
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:591: <URL:http://www.gnu.org/software/gcc/bugs.html>
/home/poinot/Wksp/Tools/include/g++-3/stl_tree.h:591: for instructions.
*** Error code 1 (bu21) (ignored)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]