OSDN Git Service

PR middle-end/24827
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Dec 2005 02:12:34 +0000 (02:12 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Dec 2005 02:12:34 +0000 (02:12 +0000)
* gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109197 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-weakref-1.c

index 6ef5ea7..a3accaf 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/24827
+       * gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.
+
 2005-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        PR testsuite/25214
index 78c026d..19a511b 100644 (file)
@@ -1,7 +1,10 @@
 // { dg-do run }
 // { dg-require-weak "" }
-// On darwin, we use attr-weakref-1-darwin.c
-// { dg-skip-if "" { "*-*-darwin*" } "*" { "" } }
+// On darwin, we use attr-weakref-1-darwin.c.
+// This test requires support for undefined weak symbols.  This support
+// is not available on hppa*-*-hpux*.  The test is skipped rather than
+// xfailed to suppress the warning that would otherwise arise.
+// { dg-skip-if "" { "*-*-darwin*" "hppa*-*-hpux*" } "*" { "" } }
 // { dg-options "-O2" }
 // { dg-additional-sources "attr-weakref-1a.c" }