Patchwork [4.7,testsuite] Skip gcc.dg/torture/pr53922.c on Tru64 UNIX

login
register
mail settings
Submitter Rainer Orth
Date April 15, 2013, 3:19 p.m.
Message ID <yddy5cjn7o2.fsf@lokon.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/236636/
State New
Headers show

Comments

Rainer Orth - April 15, 2013, 3:19 p.m.
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  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/torture/pr53922.c: Skip on alpha*-*-osf*.
	Remove dg-skip-if default args.

Patch

# 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)
 {