This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++: xfail 27_io/ios_base/storage/11584.cc on hppa64-hpux11
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: zack at codesourcery dot com
- Date: Sat, 24 Apr 2004 21:48:46 -0400 (EDT)
- Subject: Re: libstdc++: xfail 27_io/ios_base/storage/11584.cc on hppa64-hpux11
> 27_io/ios_base/storage/11584.cc fails on hppa64-hpux11 because on this
> target, overriding operator new doesn't get calls from inside
> libstdc++. (The test relies on being able to make operator new fail
> on demand.)
I don't see the need to XFAIL this test. It passes with HP ld. This
is a known bug with GNU ld. Shared library symbols can't be overloaded.
At one time, I started work on a patch. This shouldn't be that hard
to fix. There is also a couple of g++ tests that fail for the same
reason.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)