The test fails on the 32-bit hpux target because the long double type
is larger than the largest
integer type. Test passes on 64-bit hpux target. On linux, long
double is the same as double.
So, it's simplest to just skip long double test.
Tested on hppa2.0w-hp-hpux11.11.
Dave
--
John David Anglin dave.ang...@bell.net
2013-10-19 John David Anglin <dang...@gcc.gnu.org>
* c-c++-common/opaque-vector.c: Skip long double test on hppa.
Index: c-c++-common/opaque-vector.c
===================================================================
--- c-c++-common/opaque-vector.c (revision 203832)
+++ c-c++-common/opaque-vector.c (working copy)
@@ -16,7 +16,7 @@
T_TEST(float)
T_TEST(double)
/* Avoid trouble with non-power-of-two sizes. */
-#if !defined(__i386__) && !defined(__x86_64__) && !defined(__m68k__) &&
!defined(__ia64__)
+#if !defined(__i386__) && !defined(__x86_64__) && !defined(__m68k__) &&
!defined(__ia64__) && !defined(__hppa__)
T_TEST(long double)
#endif
}