Internal compiler error 19990828

Alexander Klimov ask@ispras.ru
Fri Mar 31 13:53:00 GMT 2000


Hi.

This problem appears only with -O2 option, but not with -O

Compilation log:
g++ -v --save-temps -c -O2  Digraph.cc -o opt/Digraph.o
Reading specs from
/bnr/projects/insight2/suntools/lib/gcc-lib/sparc-sun-solaris2.6/2.96/specs
gcc version 2.96 20000320 (experimental)

/bnr/projects/insight2/suntools/lib/gcc-lib/sparc-sun-solaris2.6/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__ -D__GCC_NEW_VARARGS__ -Acpu(sparc)
-Amachine(sparc) -I/opt/corp/projects/insight2/suntools/include
Digraph.cc Digraph.ii
GNU CPP version 2.96 20000320 (experimental) (cpplib)
 (sparc)
ignoring nonexistent directory `/usr/local/include'
#include "..." search starts here:
#include <...> search starts here:
 /opt/corp/projects/insight2/suntools/include
 /bnr/projects/insight2/suntools/include/g++-3

/bnr/projects/insight2/suntools/lib/gcc-lib/sparc-sun-solaris2.6/2.96/include
 /bnr/projects/insight2/suntools/sparc-sun-solaris2.6/include
 /usr/include
End of search list.

/bnr/projects/insight2/suntools/lib/gcc-lib/sparc-sun-solaris2.6/2.96/cc1plus
Digraph.ii -quiet -dumpbase Digraph.cc -O2 -version -o Digraph.s
GNU C++ version 2.96 20000320 (experimental) (sparc-sun-solaris2.6)
compiled by GNU C version 2.96 20000320 (experimental).
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h: In method
`_Rb_tree_node<_Value>
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:
*_Rb_tree<_Key, _Value, _KeyOfValue,
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h: _Compare,
_Alloc>::_M_copy
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:
(_Rb_tree_node<_Value> *,
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:
_Rb_tree_node<_Value> *) [with _Key = int,
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h: _Value =
int, _KeyOfValue = _Identity<int>,
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h: _Compare =
less<int>, _Alloc =
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:
allocator<int>]':
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:664:
instantiated from here
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:591: Internal
compiler error 19990828.
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:591: Please
submit a full bug report.
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:591: See
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:591:
<URL: http://www.gnu.org/software/gcc/bugs.html >
/bnr/projects/insight2/suntools/include/g++-3/stl_tree.h:591: for
instructions.

>uname -a
SunOS wmers08u 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-5_10

.ii file is in the attachment

BTW: I did't have the problem with gcc2.95.1

Thank you.
Regards,
ASK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Digraph.ii.gz
Type: application/x-gzip
Size: 49940 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000331/2936983c/attachment.bin>


More information about the Gcc-bugs mailing list