libstdc++: xfail 27_io/ios_base/storage/11584.cc on hppa64-hpux11

Zack Weinberg zack@codesourcery.com
Sat Apr 24 05:46:00 GMT 2004


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 am told that this is a known bug, so I propose to xfail this
testcase for this target.  I will wait a day or so for objections
though.

zw

        * testsuite/27_io/ios_base/storage/11584.cc: xfail hppa*64*-*-hpux*.

--- 3.4.0/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc	2004-04-20 11:17:16.000000000 -0700
+++ 3.4.0hp/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc	2004-04-23 16:19:03.000000000 -0700
@@ -20,6 +20,10 @@
 
 // 27.4.2.5 ios_base storage functions
 
+// Fails on hppa64-hpux due to inability to override operator new
+// for calls from libstdc++ -- known bug, probably in libtool.
+// { dg-do run { xfail hppa*64*-*-hpux* } }
+
 #include <cstdlib>
 #include <new>
 #include <iostream>



More information about the Libstdc++ mailing list