diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-05-26 14:32:36 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2016-05-26 14:32:36 +0000 |
commit | c4da5e269d92ec68da7f1b9424ab99ed3f06a5bb (patch) | |
tree | 85cc121b517187680467dcd0e4ca77de0617ba6c | |
parent | 4410dcbfeefa882c572190c210481fc3e82b923d (diff) |
* gcc.dg/20060410.c: Xfail on ptx.
* gcc.dg/torture/c99-contract-1.c: Skip on ptx.
* c-c++-common/torture/complex-sign-mixed-add.c: Skip on ptx -O0
* c-c++-common/torture/complex-sign-mixed-sub.c: Skip on ptx -O0
* gcc.c-torture/execute/pr68185.c: Skip on ptx -O0 & Os.
* gcc.c-torture/execute/20020529-1.c: Skip on ptx -00.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@236774 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/torture/complex-sign-mixed-add.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/torture/complex-sign-mixed-sub.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020529-1.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr68185.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20060410.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/c99-contract-1.c | 1 |
7 files changed, 18 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83c4e06dec2..fbd252098de 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2016-05-26 Nathan Sidwell <nathan@acm.org> + + * gcc.dg/20060410.c: Xfail on ptx. + * gcc.dg/torture/c99-contract-1.c: Skip on ptx. + * c-c++-common/torture/complex-sign-mixed-add.c: Skip on ptx -O0 + * c-c++-common/torture/complex-sign-mixed-sub.c: Skip on ptx -O0 + * gcc.c-torture/execute/pr68185.c: Skip on ptx -O0 & Os. + * gcc.c-torture/execute/20020529-1.c: Skip on ptx -00. + 2016-05-26 Thomas Preud'homme <thomas.preudhomme@arm.com> * gcc.dg/plugin/plugin.exp: skip tail call tests for Thumb-1. diff --git a/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-add.c b/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-add.c index caea562e8bd..75e34a1c03b 100644 --- a/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-add.c +++ b/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-add.c @@ -2,6 +2,7 @@ addition. */ /* { dg-do run } */ /* { dg-options "-std=gnu99" { target c } } */ +/* { dg-skip-if "ptx can elide zero additions" { "nvptx-*-*" } { "-O0" } { "" } } */ #include "complex-sign.h" diff --git a/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-sub.c b/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-sub.c index d9e083cfdce..0c889615621 100644 --- a/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-sub.c +++ b/gcc/testsuite/c-c++-common/torture/complex-sign-mixed-sub.c @@ -2,6 +2,7 @@ subtraction. */ /* { dg-do run } */ /* { dg-options "-std=gnu99" { target c } } */ +/* { dg-skip-if "ptx can elide zero additions" { "nvptx-*-*" } { "-O0" } { "" } } */ #include "complex-sign.h" diff --git a/gcc/testsuite/gcc.c-torture/execute/20020529-1.c b/gcc/testsuite/gcc.c-torture/execute/20020529-1.c index d1b93c76fdf..160a716ba5b 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20020529-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20020529-1.c @@ -12,6 +12,10 @@ forced a splitter through the output pattern "#", but there was no matching splitter. */ +/* The ptx assembler appears to clobber 'b' inside foo during the f1 call. + Reported to nvidia 2016-05-18. */ +/* { dg-skip-if "PTX assembler bug" { nvptx-*-* } { "-O0" } { "" } } */ + struct xx { int a; diff --git a/gcc/testsuite/gcc.c-torture/execute/pr68185.c b/gcc/testsuite/gcc.c-torture/execute/pr68185.c index 5e078ae6f1c..a41a557df95 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr68185.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr68185.c @@ -1,4 +1,4 @@ -/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "ptxas crashes or executes incorrectly" { nvptx-*-* } { "-O0" "-Os" } { "" } } Reported 2015-11-20 */ int a, b, d = 1, e, f, o, u, w = 1, z; short c, q, t; diff --git a/gcc/testsuite/gcc.dg/20060410.c b/gcc/testsuite/gcc.dg/20060410.c index 88253bb43f3..b4d00cb991d 100644 --- a/gcc/testsuite/gcc.dg/20060410.c +++ b/gcc/testsuite/gcc.dg/20060410.c @@ -13,4 +13,4 @@ int bar (void) return ((struct foo *)0x1234)->i; } -/* { dg-final { scan-assembler "foo" } } */ +/* { dg-final { scan-assembler "foo" { xfail nvptx-*-* } } } */ diff --git a/gcc/testsuite/gcc.dg/torture/c99-contract-1.c b/gcc/testsuite/gcc.dg/torture/c99-contract-1.c index 60230830807..78b4cdc9d01 100644 --- a/gcc/testsuite/gcc.dg/torture/c99-contract-1.c +++ b/gcc/testsuite/gcc.dg/torture/c99-contract-1.c @@ -2,6 +2,7 @@ expressions. */ /* { dg-do run } */ /* { dg-options "-std=c99 -pedantic-errors" } */ +/* { dg-skip-if "ptx only loosely follows IEEE" { "nvptx-*-*" } { "*" } { "" } } */ extern void abort (void); extern void exit (int); |