From 4ca8bf919c2a9b5948c0db5e3f118229866fe18a Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 3 Aug 2017 07:07:38 +0000 Subject: [PATCH] Skip fpatchable-function-entry tests for nvptx 2017-08-03 Tom de Vries PR target/81662 * c-c++-common/patchable_function_entry-decl.c: Skip for nvptx. * c-c++-common/patchable_function_entry-default.c: Same. * c-c++-common/patchable_function_entry-definition.c: Same. From-SVN: r250842 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/c-c++-common/patchable_function_entry-decl.c | 2 +- .../c-c++-common/patchable_function_entry-default.c | 2 +- .../c-c++-common/patchable_function_entry-definition.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9fd6be4afa2..d5fa5038d43 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-08-03 Tom de Vries + + PR target/81662 + * c-c++-common/patchable_function_entry-decl.c: Skip for nvptx. + * c-c++-common/patchable_function_entry-default.c: Same. + * c-c++-common/patchable_function_entry-definition.c: Same. + 2017-08-02 Uros Bizjak PR target/81644 diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c index 8514b10e820..5c39a354559 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ /* { dg-final { scan-assembler-times "nop" 2 } } */ diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c index 0dcf1181dde..48094f75f78 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ /* { dg-final { scan-assembler-times "nop" 3 } } */ diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c index a007867dcb0..af8202f283b 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ /* { dg-final { scan-assembler-times "nop" 1 } } */ -- 2.30.2