From patchwork Sun Jan 14 20:33:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 187984 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1360904dyc; Sun, 14 Jan 2024 12:34:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQuQvEoTcHKDUT4aS9v7PI6pjkNc7tSYau8wma6KDrvHx7VMC1IUaJhpxAMsCDJp+/DNXv X-Received: by 2002:ac8:7e95:0:b0:429:b5d0:a5b7 with SMTP id w21-20020ac87e95000000b00429b5d0a5b7mr7086047qtj.90.1705264470773; Sun, 14 Jan 2024 12:34:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705264470; cv=pass; d=google.com; s=arc-20160816; b=SdRwy5lV9Tvwxw0jjoAZFmvf3rJ07QmkpPJX3OTOkb5DaOdaGV0gUBI4A4efahjK1s VSAdZkP4VVPLY1u0+DXHSKu2xcvsHpHtVEc/+gmBmOVAQB1ijWP2LE9FqQgBWb7rd3nL kYCK+o7gIDJDBMh9BCruRODIARNKevRm4TuUt8KKaBeiVr+tnc/BzjDiAtTd60sb68bX 8NLfFcQcHokg3xaAOlrw9iV1I1AQIW6BCZ9rKz87pb/kXpUZh7OnX75F6LqaixqE6C+k UEB5ys95HhYXO7eHkHaYEplK0Iw5KY69pEIBaGon/HuVvZdvGyUsE30jzSGgHi6ZTRZd osfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=YUDvkK2fhBKaB0GJVSroZ0jX3SqMI7MGEWc1q/c2hSQ=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=AZzZP7bWmSny3m+H2c7eh14XeoaM4nr9pPMaIJ88jUiHxfoFfCi4BaZz0K0u3FVNIQ eWCm+iCBVCDd0P/VL/USEoBfwEmHZd/HLWaoXrUCMkFU4VpkYCTCczXTcp4/EH1LHG8t 0G/wy7QE7HD9PMKNFvaXo8K8iJVv0U5+isbpCYSuOWMDngfZ9CfBDMXamyIB14qNiv32 QsseLe818IPzrRiurP93j5bbhAV2YTzD1LvEq13aVa7NdK9Nl1oUAVY+VP3Belf8ioY3 GtRDpbsLiPaTXhBQoKw5e0SuipJJva2BDM37wAWsqO3+YNtuTESadb6vX3OsD0jVPUYI GfZw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id w20-20020a05622a135400b0042976cb87desi6949837qtk.204.2024.01.14.12.34.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 12:34:30 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 51645385840C for ; Sun, 14 Jan 2024 20:34:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id 6D9CC3858D20 for ; Sun, 14 Jan 2024 20:33:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D9CC3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D9CC3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705264430; cv=none; b=JeODW3iHL3brkem2jcerMSMjn6am+BrEJjKff03XSqo5wukbRcv/5Edn4PBA2EPL+3hW5g206VHsoMFA2r0614tBEDpYL2Sq/74QjPZCOX5LUaCBPERZHlaCS8OnKHAkEYMcroxLdbLpSFRD3c5yiCXwhbGX5GAKnYZkijUdYX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705264430; c=relaxed/simple; bh=ip7mNM7AbPBcKCeSTAOK2qmjJtWdQZp5xLi3B3z/5Bs=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=PqEKOhANJWMV8RWlXQKo/QbliXKpWddW7FVfpJv7js+3pHxKgA72xr3AyqiFq0tANXk0fc29i7HxeA2RwrG6PU+p4FFS6Psg1a/+C1jIrBQiIJB73VL+7J+RByMQbPbVCp3Duw9nSZRDDJ1XVMCrZPkQUsV9+ym5eP7A4QXSO/I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id F1E211600123; Sun, 14 Jan 2024 21:33:46 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id C2A2522011C; Sun, 14 Jan 2024 20:33:34 +0000 (UTC) Date: Sun, 14 Jan 2024 20:33:34 +0000 From: John David Anglin To: GCC Patches Subject: [committed] Skip several gcc.dg/builtin-dynamic-object-size tests on hppa*-*-hpux* Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788099397906582279 X-GMAIL-MSGID: 1788099397906582279 Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip several gcc.dg/builtin-dynamic-object-size tests on hppa*-*-hpux* hppa*-*-hpux* doesn't have strdup or strndup. 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/builtin-dynamic-object-size-0.c: Skip on hppa*-*-hpux*. * gcc.dg/builtin-dynamic-object-size-1.c: Likewise. * gcc.dg/builtin-dynamic-object-size-2.c: Likewise. * gcc.dg/builtin-dynamic-object-size-3.c: Likewise. * gcc.dg/builtin-dynamic-object-size-4.c: Likewise. diff --git a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-0.c b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-0.c index c3ac6230d4d..173e7c755f4 100644 --- a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-0.c +++ b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-0.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target size20plus } */ +/* { dg-skip-if "no strndup" { hppa*-*-hpux* } } */ #include "builtin-object-size-common.h" diff --git a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-1.c b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-1.c index 8f17c8edcaf..ffa59985024 100644 --- a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-1.c +++ b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-1.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -Wno-stringop-overread" } */ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "no strndup" { hppa*-*-hpux* } } */ #define __builtin_object_size __builtin_dynamic_object_size #include "builtin-object-size-1.c" diff --git a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-2.c b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-2.c index 3677782ff1c..fff32da7aea 100644 --- a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-2.c +++ b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -Wno-stringop-overread" } */ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "no strndup" { hppa*-*-hpux* } } */ #define __builtin_object_size __builtin_dynamic_object_size #include "builtin-object-size-2.c" diff --git a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-3.c b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-3.c index 5b6987b7773..ac223d67b10 100644 --- a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-3.c +++ b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-3.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -Wno-stringop-overread" } */ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "no strndup" { hppa*-*-hpux* } } */ #define __builtin_object_size __builtin_dynamic_object_size #include "builtin-object-size-3.c" diff --git a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-4.c b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-4.c index 9d796224e96..fdf4284ae11 100644 --- a/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-4.c +++ b/gcc/testsuite/gcc.dg/builtin-dynamic-object-size-4.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -Wno-stringop-overread" } */ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "no strndup" { hppa*-*-hpux* } } */ #define __builtin_object_size __builtin_dynamic_object_size #include "builtin-object-size-4.c"