The test gcc.dg/torture/pr53922.c fails on 32-bit HP-UX because there
isn't support for undefined weak symbols.  We skip rather than xfail
to avoid the warning that would otherwise arise.

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

Dave
-- 
J. David Anglin                                  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2012-09-30  John David Anglin  <dave.ang...@nrc-cnrc.gc.ca>

        PR target/54083
        * gcc.dg/torture/pr53922.c: Skip on 32-bit hppa-*-hpux*.

Index: gcc.dg/torture/pr53922.c
===================================================================
--- gcc.dg/torture/pr53922.c    (revision 191314)
+++ gcc.dg/torture/pr53922.c    (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-weak "" } */
+/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* && { ! lp64 } } { "*" } { 
"" } } */
 
 int x(int a)
 {

Reply via email to