I noticed that gcc.dg/torture/pr53922.c FAILs on Tru64 UNIX on the 4.7 branch for the same reason as on HP-UX: no undefined weak symbols. The following patch accounts for that, together with a small cleanup.
Tested with the appropriate runtest invocation on alpha-dec-osf5.1b, installed on 4.7 branch. Rainer 2013-04-15 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.dg/torture/pr53922.c: Skip on alpha*-*-osf*. Remove dg-skip-if default args.
# HG changeset patch # Parent e26c8a7daecd890ceeb6cadd50911c3d95031a85 Skip gcc.dg/torture/pr53922.c on Tru64 UNIX diff --git a/gcc/testsuite/gcc.dg/torture/pr53922.c b/gcc/testsuite/gcc.dg/torture/pr53922.c --- a/gcc/testsuite/gcc.dg/torture/pr53922.c +++ b/gcc/testsuite/gcc.dg/torture/pr53922.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-weak "" } */ -/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* && { ! lp64 } } { "*" } { "" } } */ +/* { dg-skip-if "No undefined weak" { alpha*-*-osf* } } */ +/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* && { ! lp64 } } } */ int x(int a) {
-- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University