From 7cfb065b0e75bf8dab8337d1c3ce33f79110226f Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 11 May 2016 15:50:20 +0000 Subject: [PATCH] pr68671.c: Xfail on PTX -- assembler crash. * gcc.dg/pr68671.c: Xfail on PTX -- assembler crash. * gcc.c-torture/execute/pr68185.c: Likewise. * gcc.dg/ipa/pr70306.c: Requires global constructors. * gcc.dg/pr69634.c: Requires scheduling. * gcc.dg/torture/pr66178.c: Require label values. * gcc.dg/setjmp-6.c: Require indirect jumps. From-SVN: r236125 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.c-torture/execute/pr68185.c | 2 ++ gcc/testsuite/gcc.dg/ipa/pr70306.c | 1 + gcc/testsuite/gcc.dg/pr68671.c | 1 + gcc/testsuite/gcc.dg/pr69634.c | 1 + gcc/testsuite/gcc.dg/setjmp-6.c | 1 + gcc/testsuite/gcc.dg/torture/pr66178.c | 2 ++ 7 files changed, 17 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 91703474055..839d0a0fa6a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2016-05-11 Nathan Sidwell + + * gcc.dg/pr68671.c: Xfail on PTX -- assembler crash. + * gcc.c-torture/execute/pr68185.c: Likewise. + * gcc.dg/ipa/pr70306.c: Requires global constructors. + * gcc.dg/pr69634.c: Requires scheduling. + * gcc.dg/torture/pr66178.c: Require label values. + * gcc.dg/setjmp-6.c: Require indirect jumps. + 2016-05-11 Richard Biener PR tree-optimization/71055 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr68185.c b/gcc/testsuite/gcc.c-torture/execute/pr68185.c index 826531bf71b..5e078ae6f1c 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr68185.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr68185.c @@ -1,3 +1,5 @@ +/* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O0" } { "" } } */ + int a, b, d = 1, e, f, o, u, w = 1, z; short c, q, t; diff --git a/gcc/testsuite/gcc.dg/ipa/pr70306.c b/gcc/testsuite/gcc.dg/ipa/pr70306.c index be18208afd4..f9327073ac8 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr70306.c +++ b/gcc/testsuite/gcc.dg/ipa/pr70306.c @@ -1,5 +1,6 @@ /* { dg-options "-O2 -fdump-ipa-icf" } */ /* { dg-do run } */ +/* { dg-require-effective-target global_constructor } */ int ctor_counter = 1; int dtor_counter; diff --git a/gcc/testsuite/gcc.dg/pr68671.c b/gcc/testsuite/gcc.dg/pr68671.c index bec4639f80a..af08cdb09a2 100644 --- a/gcc/testsuite/gcc.dg/pr68671.c +++ b/gcc/testsuite/gcc.dg/pr68671.c @@ -1,6 +1,7 @@ /* 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; diff --git a/gcc/testsuite/gcc.dg/pr69634.c b/gcc/testsuite/gcc.dg/pr69634.c index 59e37390714..e4032b6bbb6 100644 --- a/gcc/testsuite/gcc.dg/pr69634.c +++ b/gcc/testsuite/gcc.dg/pr69634.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fno-dce -fschedule-insns -fno-tree-vrp -fcompare-debug" } */ /* { dg-additional-options "-Wno-psabi -mno-sse" { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target scheduling } */ typedef unsigned short u16; typedef short v16u16 __attribute__ ((vector_size (16))); diff --git a/gcc/testsuite/gcc.dg/setjmp-6.c b/gcc/testsuite/gcc.dg/setjmp-6.c index 0781f055952..d821d230ce0 100644 --- a/gcc/testsuite/gcc.dg/setjmp-6.c +++ b/gcc/testsuite/gcc.dg/setjmp-6.c @@ -1,6 +1,7 @@ /* PR69569 */ /* { dg-do compile } */ /* { dg-options "-O3" } */ +/* { dg-require-effective-target indirect_jumps } */ #include diff --git a/gcc/testsuite/gcc.dg/torture/pr66178.c b/gcc/testsuite/gcc.dg/torture/pr66178.c index ebc626c6f5a..c42996df60a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr66178.c +++ b/gcc/testsuite/gcc.dg/torture/pr66178.c @@ -1,4 +1,6 @@ /* { dg-do compile } */ +/* { dg-require-effective-target label_values } */ + int test(void) { static int a = ((char *)&&l1-(char *)&&l2)-1; -- 2.30.2