This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Results for gcc-2.95 19990531: libio and libg++ test failures
- To: egcs-bugs at egcs dot cygnus dot com, dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Subject: Results for gcc-2.95 19990531: libio and libg++ test failures
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 1 Jun 1999 15:43:43 -0400 (EDT)
The following tests fail under hpux 9.01 when the compiler is built with
-O2 or -O3:
libio:
Running ../../../../libio/testsuite/libio.tests/tFile.exp ...
FAIL: tFile.cc execution
FAIL: tFile.cc execution -b0
FAIL: tFile.cc execution -b3
Running ../../../../libio/testsuite/libio.tests/tfformat.exp ...
Running ../../../../libio/testsuite/libio.tests/tiformat.exp ...
Running ../../../../libio/testsuite/libio.tests/tiomanip.exp ...
Running ../../../../libio/testsuite/libio.tests/tiomisc.exp ...
FAIL: tiomisc.cc execution
libg++:
Running ../../../../libg++/testsuite/libg++.tests/test.exp ...
FAIL: tFile.cc execution
These tests do not fail if the compiler is built with -O0. Note that
when the compiler is built at -O0, the tests can be run successfully
at -O3.
The tiomisc.cc test and probably the others fail due to a segmentation
fault:
gdb -c core
...
This GDB was configured as "hppa1.1-hp-hpux9.01".
Reading symbols from tiomisc...done.
Core was generated by `tiomisc'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
Reading symbols from /xxx/gnu/gcc-2.95/objdir/hppa1.1-hp-hpux9.01//libstdc++/lib
stdc++.sl...done.
Reading symbols from /lib/libc.sl...done.
#0 _IO_putc (c=10, fp=0x0) at ../../../libio/ioputc.c:33
33 result = _IO_putc_unlocked (c, fp);
(gdb) bt
#0 _IO_putc (c=10, fp=0x0) at ../../../libio/ioputc.c:33
#1 0x80a7cb7c in endl (outs=@0x7b035c48) at ../../../libio/streambuf.h:395
#2 0x3104 in test2 () at ../../../../libio/testsuite/../iostream.h:106
#3 0x57ac in main () at ../../../../libio/testsuite/../tests/tiomisc.cc:226
Cannot access memory at address 0x5768.
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)