The test fails because there is no undefined weak support on 32-bit hpux.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2014-03-23  John David Anglin  <dang...@gcc.gnu.org>

        * gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.

Index: gcc.dg/torture/pr60092.c
===================================================================
--- gcc.dg/torture/pr60092.c    (revision 208769)
+++ gcc.dg/torture/pr60092.c    (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-weak "" } */
+/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* && { ! lp64 } } { "*" } { 
"" } } */
 /* { dg-xfail-run-if "posix_memalign modifies first arg on error" { 
*-*-solaris2.11* } { "-O0" } } */
 
 typedef __SIZE_TYPE__ size_t;

Reply via email to