From: Tom de Vries Date: Wed, 14 Oct 2020 13:51:24 +0000 (+0200) Subject: [nvptx, testsuite] Remove xpassing xfails for ptxas crashes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c72720e942f23bd18116ee3ec20ce1672cb3a7c1;p=gcc.git [nvptx, testsuite] Remove xpassing xfails for ptxas crashes There's a couple of nvptx xfails that are related to ptxas crashes, which are xpassing for me (with ptxas from cuda 9.1). I've tested these on a range of cudas, from 5.0 to 11.1 and did not manage to reproduce the fails. Remove the xfails. Tested on nvptx. gcc/testsuite/ChangeLog: 2020-10-15 Tom de Vries * gcc.c-torture/compile/pr42717.c: Remove nvptx xfail. * gcc.c-torture/compile/pr61684.c: Same. * gcc.c-torture/execute/pr20601-1.c: Same. * gcc.c-torture/execute/pr52129.c: Same. * gcc.c-torture/execute/pr59221.c: Same. * gcc.dg/pr68671.c: Same. --- diff --git a/gcc/testsuite/gcc.c-torture/compile/pr42717.c b/gcc/testsuite/gcc.c-torture/compile/pr42717.c index 7f6fb9db5cf..4fe6f93e797 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr42717.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr42717.c @@ -1,4 +1,3 @@ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O0" } { "" } } */ static signed char foo (signed char si1, unsigned char si2) { diff --git a/gcc/testsuite/gcc.c-torture/compile/pr61684.c b/gcc/testsuite/gcc.c-torture/compile/pr61684.c index 9a7b52feb9e..f5b53b73a0d 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr61684.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr61684.c @@ -1,5 +1,4 @@ /* PR tree-optimization/61684 */ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-O1" "-Os" } } */ int a, c; static int *b = 0; diff --git a/gcc/testsuite/gcc.c-torture/execute/pr20601-1.c b/gcc/testsuite/gcc.c-torture/execute/pr20601-1.c index 6eab1ef1ea7..7c13c913819 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr20601-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr20601-1.c @@ -1,5 +1,4 @@ /* PR tree-optimization/20601 */ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O1" } { "" } } */ extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.c-torture/execute/pr52129.c b/gcc/testsuite/gcc.c-torture/execute/pr52129.c index ab43ca60cfe..a60bfa8bb6a 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr52129.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr52129.c @@ -1,5 +1,4 @@ /* PR target/52129 */ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O1" } { "" } } */ extern void abort (void); struct S { void *p; unsigned int q; }; diff --git a/gcc/testsuite/gcc.c-torture/execute/pr59221.c b/gcc/testsuite/gcc.c-torture/execute/pr59221.c index b3072271bfb..0cd425948fc 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr59221.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr59221.c @@ -1,4 +1,3 @@ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-Os" } } */ int a = 1, b, d; diff --git a/gcc/testsuite/gcc.dg/pr68671.c b/gcc/testsuite/gcc.dg/pr68671.c index 9b473ca8f00..bec4639f80a 100644 --- a/gcc/testsuite/gcc.dg/pr68671.c +++ b/gcc/testsuite/gcc.dg/pr68671.c @@ -1,7 +1,6 @@ /* PR tree-optimization/68671 */ /* { dg-do run } */ /* { dg-options " -O2 -fno-tree-dce" } */ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } } */ volatile int a = -1; volatile int b;