From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2100) id 415DD385802E; Mon, 11 Oct 2021 20:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 415DD385802E Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Giuliano Belinassi To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/giulianob/heads/pfe_backport_dirty)] Backport Skip fpatchable-function-entry tests for nvptx X-Act-Checkin: gcc X-Git-Author: Tom de Vries X-Git-Refname: refs/users/giulianob/heads/pfe_backport_dirty X-Git-Oldrev: cf7e6e32b726dac3ee4934687a95804171707302 X-Git-Newrev: c46d0a24a4adf31728977d6843b5d3d667988643 Message-Id: <20211011203332.415DD385802E@sourceware.org> Date: Mon, 11 Oct 2021 20:33:32 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2021 20:33:32 -0000 https://gcc.gnu.org/g:c46d0a24a4adf31728977d6843b5d3d667988643 commit c46d0a24a4adf31728977d6843b5d3d667988643 Author: Tom de Vries Date: Thu Aug 3 07:07:38 2017 +0000 Backport Skip fpatchable-function-entry tests for nvptx 2021-10-07 Giuliano Belinassi 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. Diff: --- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/c-c++-common/patchable_function_entry-decl.c | 2 +- gcc/testsuite/c-c++-common/patchable_function_entry-default.c | 2 +- .../c-c++-common/patchable_function_entry-definition.c | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63837b79148..186bfce3954 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,15 @@ 2021-10-07 Giuliano Belinassi + Backport from mainline + 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. + + +2021-10-07 Giuliano Belinassi Backport from mainline 2017-07-07 Torsten Duwe 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 } } */