From patchwork Mon Jun 20 15:25:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 55197 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3264D3856DFF for ; Mon, 20 Jun 2022 15:25:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3264D3856DFF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1655738739; bh=zW4B9OhI7IIl3oKk7UNvi8XtZfODzHBhRwTKTpLKUis=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=aeg/LV9yOGjuYtiMWoFqXyeCMKHXHRj2Blb246zQK8w/B+nwCFtf6FxXYk2hnUOwW LUJ5pFkb4Ik5ThO/shJSvkih/Dbkioq+in6lT5deoa8KI7BUxmB6h0Bqg4oig1xKrv VP4EGIs6XtEL4IzdR/Gy4nSBpxANCL1x8xUkVarQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 7C9B23858C2C for ; Mon, 20 Jun 2022 15:25:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7C9B23858C2C Received: by mail-wr1-x42a.google.com with SMTP id e25so11296817wrc.13 for ; Mon, 20 Jun 2022 08:25:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=zW4B9OhI7IIl3oKk7UNvi8XtZfODzHBhRwTKTpLKUis=; b=WFszIu5yfwp8GNxdNVSAsNjz1ybhz1JULD1radc9Y0fCzkR0B5qLsJose0R9F/aHlA Tbc/TuAWsLlDh1yoDyA7OAOhbEqF0Tf1+ANZacYNSUMqeKzgUqv3oz1WtSIosT36HjNq zOxteRt24q2jpBi1AiYGKOd0x1vGvfjB71vQSXdUkyGzBfVD/rxB5WMiX4wsShN6t5XN Q4hj0umlAdxd3rfsTBzwBiEsAuLnhH0CpRfO+xw2xse70HlLsFTjgs8VYDRk/agVcxnc VAWU/OsxvA6dIPmyvNMUqBQ62IelOlGEFZIsvWp5n1mspl2V/CiVGrANMpxkX4a5tqoa v3Mw== X-Gm-Message-State: AJIora8gqRZNk4Wd01rH4mGx+2n9fbKawAU49FVH/unVnYTwY6tzqjqc GT+pNiOwNL5Zte5Tu0DP4EUz82uD234= X-Google-Smtp-Source: AGRyM1uiN2jaRx4c3BqB590GJJxfqYNYpSqa7FR60+eXEj9ZSI5fpXrvvBoqXIJdldso7uDhLA3E3Q== X-Received: by 2002:a5d:4809:0:b0:21b:8910:875b with SMTP id l9-20020a5d4809000000b0021b8910875bmr10470452wrq.681.1655738708157; Mon, 20 Jun 2022 08:25:08 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id j15-20020a5d604f000000b0021b944c9ce4sm1077440wrt.15.2022.06.20.08.25.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2022 08:25:07 -0700 (PDT) X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] testsuite, Darwin: Skip an unsupported test. Date: Mon, 20 Jun 2022 16:25:01 +0100 Message-Id: <20220620152501.81232-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Iain Sandoe via Gcc-patches From: Iain Sandoe Reply-To: iain@sandoe.co.uk Cc: Iain Sandoe Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Darwin does not support patchable function entries, skip the test there. tested on x86_64 darwin / linux, pushed to master, thanks, Iain gcc/testsuite/ChangeLog: * g++.dg/modules/pr105169_a.C: Skip the test on Darwin. * g++.dg/modules/pr105169_b.C: Likewise. --- gcc/testsuite/g++.dg/modules/pr105169_a.C | 2 +- gcc/testsuite/g++.dg/modules/pr105169_b.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.dg/modules/pr105169_a.C b/gcc/testsuite/g++.dg/modules/pr105169_a.C index 02660b3a0e4..e4ec855ab49 100644 --- a/gcc/testsuite/g++.dg/modules/pr105169_a.C +++ b/gcc/testsuite/g++.dg/modules/pr105169_a.C @@ -1,4 +1,4 @@ -/* { dg-module-do link } */ +/* { dg-module-do link { target { ! *-*-darwin* } } } */ /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */ /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */ diff --git a/gcc/testsuite/g++.dg/modules/pr105169_b.C b/gcc/testsuite/g++.dg/modules/pr105169_b.C index 7a9c5863a6a..afbb12927e4 100644 --- a/gcc/testsuite/g++.dg/modules/pr105169_b.C +++ b/gcc/testsuite/g++.dg/modules/pr105169_b.C @@ -1,4 +1,4 @@ -/* { dg-module-do link } */ +/* { dg-module-do link { target { ! *-*-darwin* } } } */ /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */ /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */