diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-05-26 14:32:36 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2016-05-26 14:32:36 +0000 |
commit | a2d5b8c99393978188790649571aeb2fc1fd6944 (patch) | |
tree | 85cc121b517187680467dcd0e4ca77de0617ba6c /gcc | |
parent | 40774fafdcb3e9c4bbe2ad02f4c3ca9e4ea53f08 (diff) | |
download | gcc-a2d5b8c99393978188790649571aeb2fc1fd6944.zip gcc-a2d5b8c99393978188790649571aeb2fc1fd6944.tar.gz gcc-a2d5b8c99393978188790649571aeb2fc1fd6944.tar.bz2 |
20060410.c: Xfail on ptx.
* 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.
From-SVN: r236774
Diffstat (limited to 'gcc')
-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 83c4e06..fbd2520 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 caea562..75e34a1 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 d9e083c..0c88961 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 d1b93c7..160a716 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 5e078ae..a41a557 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 88253bb..b4d00cb 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 6023083..78b4cdc 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); |