diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2005-12-31 02:12:34 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2005-12-31 02:12:34 +0000 |
commit | 67570aba0d22b6c21b9b4e541ba6225852175f75 (patch) | |
tree | 692183bfd4125691a2d4da071dc473a1f248bf3e /gcc/testsuite/gcc.dg/attr-weakref-1.c | |
parent | b8dc9b746ae1d819062d92050bf1feec417b8668 (diff) | |
download | gcc-67570aba0d22b6c21b9b4e541ba6225852175f75.zip gcc-67570aba0d22b6c21b9b4e541ba6225852175f75.tar.gz gcc-67570aba0d22b6c21b9b4e541ba6225852175f75.tar.bz2 |
re PR middle-end/24827 (FAIL: gcc.dg/attr-weakref-1.c)
PR middle-end/24827
* gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.
From-SVN: r109197
Diffstat (limited to 'gcc/testsuite/gcc.dg/attr-weakref-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/attr-weakref-1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/attr-weakref-1.c b/gcc/testsuite/gcc.dg/attr-weakref-1.c index 78c026d..19a511b 100644 --- a/gcc/testsuite/gcc.dg/attr-weakref-1.c +++ b/gcc/testsuite/gcc.dg/attr-weakref-1.c @@ -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" } |