diff mbox

[committed] Skip long double test in c-c++-common/opaque-vector.c on hppa

Message ID BLU0-SMTP82E8F91153DC32C0C7C0F897070@phx.gbl
State New
Headers show

Commit Message

John David Anglin Oct. 19, 2013, 10:44 p.m. UTC
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.anglin@bell.net
2013-10-19  John David Anglin  <danglin@gcc.gnu.org>

	* c-c++-common/opaque-vector.c: Skip long double test on hppa.
diff mbox

Patch

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
 }