public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite, PR81662, committed] Skip fpatchable-function-entry tests for nvptx
@ 2017-08-03  7:17 Tom de Vries
  2017-08-03 11:23 ` [nvptx, PR 81662, committed] Error out on nvptx for fpatchable-function-entry Tom de Vries
  0 siblings, 1 reply; 3+ messages in thread
From: Tom de Vries @ 2017-08-03  7:17 UTC (permalink / raw)
  To: GCC Patches; +Cc: Rainer Orth, Mike Stump

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

Hi,

fpatchable-function-entry requires nop, which nvptx does not have.

I've disabled the corresponding test for nvptx.

I suppose I could add an effective target has_nop, but I'm not sure if 
it's worth the trouble.

Committed.

Thanks,
- Tom

[-- Attachment #2: 0001-Skip-fpatchable-function-entry-tests-for-nvptx.patch --]
[-- Type: text/x-patch, Size: 2113 bytes --]

Skip fpatchable-function-entry tests for nvptx

2017-08-02  Tom de Vries  <tom@codesourcery.com>

	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.

---
 gcc/testsuite/c-c++-common/patchable_function_entry-decl.c       | 2 +-
 gcc/testsuite/c-c++-common/patchable_function_entry-default.c    | 2 +-
 gcc/testsuite/c-c++-common/patchable_function_entry-definition.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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 8514b10..5c39a35 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 0dcf118..48094f7 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 a007867..af8202f 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 } } */
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-10 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-03  7:17 [testsuite, PR81662, committed] Skip fpatchable-function-entry tests for nvptx Tom de Vries
2017-08-03 11:23 ` [nvptx, PR 81662, committed] Error out on nvptx for fpatchable-function-entry Tom de Vries
2017-08-10 13:13   ` Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).