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]
Other format: [Raw text]

[Bug bootstrap/12787] libsupc++/tinfo2.cc:167: internal compiler error: in output_die, at dwarf2out.c:6652


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12787



------- Additional Comments From olh at suse dot de  2003-11-01 11:53 -------
this is a bug in the optimizer.
I can reproduce it also in a SuSE SLES8 enviroment.

compiling with '-O2' or '-O2 -g' or '-O1' works, '-O1 -g' leads to an ICE:

toolchain:~/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/libsupc++ $ /home/toolchain/obj34/obj-gcc/gcc/cc1plus -quiet -nostdinc++ -v -I/home/toolchain/src/gcc-head/libstdc++-v3/../gcc -I/home/toolchain/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/home/toolchain/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include -I/home/toolchain/src/gcc-head/libstdc++-v3/libsupc++ -iprefix /home/toolchain/obj34/obj-gcc/gcc/../lib/gcc/powerpc-unknown-linux-gnu/3.4/ -isystem /home/toolchain/obj34/obj-gcc/gcc/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/bin/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/lib/include -D_GNU_SOURCE -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix -D_GNU_SOURCE -DPIC -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/sys-include /home/toolchain/src/gcc-head/libstdc++-v3/libsupc++/tinfo2.cc -quiet -dumpbase tinfo2.cc -msoft-float -mstrict-align -msoft-float -mstrict-align -auxbase-strip tinfo2.o -g -O2 -O1 -O1 -O2 -Wall -Wall -Wall -W -Wwrite-strings -Wcast-qual -version -fPIC -fsigned-char -fmessage-length=0 -fsigned-char -fmessage-length=0 -fPIC -fno-implicit-templates -fdiagnostics-show-location=once -fPIC -O1 -o /tmp/cctTyb87.s
/home/toolchain/src/gcc-head/libstdc++-v3/libsupc++/tinfo2.cc:167: internal compiler error: in output_die, at dwarf2out.c:6652

toolchain:~/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/libsupc++ $ /home/toolchain/obj34/obj-gcc/gcc/cc1plus -quiet -nostdinc++ -v -I/home/toolchain/src/gcc-head/libstdc++-v3/../gcc -I/home/toolchain/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/home/toolchain/obj34/obj-gcc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include -I/home/toolchain/src/gcc-head/libstdc++-v3/libsupc++ -iprefix /home/toolchain/obj34/obj-gcc/gcc/../lib/gcc/powerpc-unknown-linux-gnu/3.4/ -isystem /home/toolchain/obj34/obj-gcc/gcc/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/bin/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/lib/include -D_GNU_SOURCE -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix -D_GNU_SOURCE -DPIC -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/include -isystem /home/toolchain/gcc34/powerpc-unknown-linux-gnu/sys-include /home/toolchain/src/gcc-head/libstdc++-v3/libsupc++/tinfo2.cc -quiet -dumpbase tinfo2.cc -msoft-float -mstrict-align -msoft-float -mstrict-align -auxbase-strip tinfo2.o -g -O2 -O1 -O1 -O2 -Wall -Wall -Wall -W -Wwrite-strings -Wcast-qual -version -fPIC -fsigned-char -fmessage-length=0 -fsigned-char -fmessage-length=0 -fPIC -fno-implicit-templates -fdiagnostics-show-location=once -fPIC -O1 -O2 -o /tmp/cctTyb87.s
works.


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