public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Results for gcc-2.95 19990531: libio and libg++ test failures
@ 1999-06-30 23:07 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 1999-06-30 23:07 UTC (permalink / raw)
  To: egcs-bugs, John David Anglin

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-30 23:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-30 23:07 Results for gcc-2.95 19990531: libio and libg++ test failures John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).