32-bit hppa-hpux doesn't support -fdata-sections causing the test to
fail.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed
to trunk and 4.9 branch.
Dave
--
John David Anglin dave.ang...@bell.net
2014-08-07 John David Anglin <dang...@gcc.gnu.org>
* gcc.c-torture/compile/pr60655-1.c: Don't add -fdata-sections option
on 32-bit hppa-hpux.
Index: gcc.c-torture/compile/pr60655-1.c
===================================================================
--- gcc.c-torture/compile/pr60655-1.c (revision 213683)
+++ gcc.c-torture/compile/pr60655-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-fdata-sections" } */
+/* { dg-options "-fdata-sections" { target { ! { { hppa*-*-hpux* } && { ! lp64
} } } } } */
typedef unsigned char unit;
typedef unit *unitptr;