From: Nathan Sidwell Date: Thu, 26 May 2016 14:32:36 +0000 (+0000) Subject: 20060410.c: Xfail on ptx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2d5b8c99393978188790649571aeb2fc1fd6944;p=gcc.git 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 --- 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 + + * 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 * 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);