File gcc7-pfe-0002-Backport-Skip-fpatchable-function-entry-tests-for-nv.patch of Package cross-s390x-gcc7
54
1
From c375b71b3f7e6801a5e5a10275b1a0e405f0ab6a Mon Sep 17 00:00:00 2001
2
From: Tom de Vries <tom@codesourcery.com>
3
Date: Thu, 3 Aug 2017 07:07:38 +0000
4
Subject: [PATCH 02/22] Backport Skip fpatchable-function-entry tests for nvptx
5
6
gcc/testsuite/ChangeLog
7
2021-10-07 Giuliano Belinassi <gbelinassi@suse.de>
8
9
2017-08-03 Tom de Vries <tom@codesourcery.com>
10
11
PR target/81662
12
* c-c++-common/patchable_function_entry-decl.c: Skip for nvptx.
13
* c-c++-common/patchable_function_entry-default.c: Same.
14
* c-c++-common/patchable_function_entry-definition.c: Same.
15
---
16
gcc/testsuite/c-c++-common/patchable_function_entry-decl.c | 2 +-
17
gcc/testsuite/c-c++-common/patchable_function_entry-default.c | 2 +-
18
.../c-c++-common/patchable_function_entry-definition.c | 2 +-
19
3 files changed, 3 insertions(+), 3 deletions(-)
20
21
diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
22
index 8514b10e820..5c39a354559 100644
23
--- a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
24
+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
25
26
-/* { dg-do compile } */
27
+/* { dg-do compile { target { ! nvptx*-*-* } } } */
28
/* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
29
/* { dg-final { scan-assembler-times "nop" 2 } } */
30
31
diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c
32
index 0dcf1181dde..48094f75f78 100644
33
--- a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c
34
+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c
35
36
-/* { dg-do compile } */
37
+/* { dg-do compile { target { ! nvptx*-*-* } } } */
38
/* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
39
/* { dg-final { scan-assembler-times "nop" 3 } } */
40
41
diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c
42
index a007867dcb0..af8202f283b 100644
43
--- a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c
44
+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c
45
46
-/* { dg-do compile } */
47
+/* { dg-do compile { target { ! nvptx*-*-* } } } */
48
/* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
49
/* { dg-final { scan-assembler-times "nop" 1 } } */
50
51
--
52
2.33.1
53
54