From patchwork Tue Jan 16 20:23:49 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: 188608 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp504498dye; Tue, 16 Jan 2024 12:24:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFrZDjp/+wuP9AAl0Uv+ZI4bAR9QpO3PXUx8iwLFqkL6Ez50IJCqkVBK+VLURtfxWp25+1 X-Received: by 2002:a9d:739a:0:b0:6dc:129:22df with SMTP id j26-20020a9d739a000000b006dc012922dfmr6794444otk.11.1705436694733; Tue, 16 Jan 2024 12:24:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705436694; cv=pass; d=google.com; s=arc-20160816; b=i9R/QEtjxsbXjIPcPyA9p1iyRmPvr3Aw+P42712+Vn6o7iYe3P5IM+jiHuXfeF9Fyw ADDCwJkq+ddDs+ngME56HsZ0tYYUUnkIdIRSDtTLXAOabjiaYvRqnEMiy6M/Y5pLX7je YUYaL7N+U4wTReMeWxyCz1/1z35upfXADRC+omZElU4K/gTxL/y7/GNCThzSOyN4ED+w R7g3E7K29gTaaTKmLH/tXeVJYyKMzRGwbOzs82PsVi4+4bjQfTfohQB+6eqvZ/yXeiY7 tUw/SR5fuXDfI44rVlaNI2fXZ4Y6RD49S0rM9dQQrpY/Fybf7d3pqevj+/nUOvWDyYuI +DNg== 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=m2kP03yAtfMEW4DgorVfFee6C5T9TJ/oWThAHAjtaH8=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=K+isLmQze5J2fFZLfJZD4Gl/LqbFTdMHcuflzyG4S2lRMYm9abHAWqJ7qHo1Xb+b7L pfQ4wn5VKlKSIoQoGV0Akg3PwJ3F2GYHQQhgG71WpuN9IJcKZnnXBKFzroGOoWBL7ggr akKwNN0xfvDehjj/x8vaG/dQxmMF2ymUpQHeREphqE0qb67au46A+BHsbh9oTEPUQRuA 96OZadBRzPv+NOtzoXlypiAdIjLm3go859leFVxF8z9OCMAr1nige9SmXY9UGVAfOqQq yqYJcadFoiQXmXhXr3KCI+K6b7mDc89WtAStdgMTGDiayPovVmx7TQygvA+8WyZsaGdb 26YA== 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 h13-20020ac85e0d000000b0042a09c94802si1018386qtx.563.2024.01.16.12.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 12:24:54 -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 6E8EB3858C54 for ; Tue, 16 Jan 2024 20:24:54 +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 4AFCA3858C42 for ; Tue, 16 Jan 2024 20:24:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4AFCA3858C42 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 4AFCA3858C42 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=1705436645; cv=none; b=CXE7HzUgJ+XAWtAzmkHiI4l47OEjhTx05COeWv+HHm+EuiuxV4Pz6dIwiIkYPDiZdTmkyw1LG6lw4DtinQFi6SrksHRe3E93TS82uKXPdaly9jUIVFmuCHkppFTIOyku94L6yjwhEFnBqpcpVNNtoV53MOrDsxd3HHpLTHcC1PY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705436645; c=relaxed/simple; bh=+p/M+iHRvV+Ssz6Iy8C/YsOrm84UQCAb/xQWrLxLTus=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=SvdHNEJh+rGCFQaMOxearn3UJLSeQN/rYzmialwJEnsvIyEe1sOllWrimXKqv8vlhE45Vqdwr4TzkJa5hFIcoQ3Ko1pzClf42Wv/HpBMXfu09VYUgZHau5S8ih5idraSnV0d9gj4Ww1otwNyi1xDf45xI6eEMrlukINfFMn/Ixk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id 8A931160002E; Tue, 16 Jan 2024 21:24:01 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id C72A422011C; Tue, 16 Jan 2024 20:23:49 +0000 (UTC) Date: Tue, 16 Jan 2024 20:23:49 +0000 From: John David Anglin To: GCC Patches Subject: [committed] Require target lto in several tests Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.4 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: 1788279987726932737 X-GMAIL-MSGID: 1788279987726932737 Tested on hppa64-hp-hpux11.11 with lto disabled. Committed to trunk. Dave --- Require target lto in several tests 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/c23-tag-alias-2.c: Require target lto. * gcc.dg/c23-tag-alias-3.c: Likewise. * gcc.dg/gnu23-tag-alias-3.c: Likewise. * gcc.dg/scantest-lto.c: Likewise. diff --git a/gcc/testsuite/gcc.dg/c23-tag-alias-2.c b/gcc/testsuite/gcc.dg/c23-tag-alias-2.c index 64ff67d8552..1a4097b629d 100644 --- a/gcc/testsuite/gcc.dg/c23-tag-alias-2.c +++ b/gcc/testsuite/gcc.dg/c23-tag-alias-2.c @@ -1,4 +1,4 @@ -/* { dg-do run } +/* { dg-do run { target lto } } * { dg-options "-std=c23 -flto -O2" } */ diff --git a/gcc/testsuite/gcc.dg/c23-tag-alias-3.c b/gcc/testsuite/gcc.dg/c23-tag-alias-3.c index b9fe6f3b407..76bc4dfcd23 100644 --- a/gcc/testsuite/gcc.dg/c23-tag-alias-3.c +++ b/gcc/testsuite/gcc.dg/c23-tag-alias-3.c @@ -1,4 +1,4 @@ -/* { dg-do run } +/* { dg-do run { target lto } } * { dg-options "-std=c23 -O2" } */ diff --git a/gcc/testsuite/gcc.dg/gnu23-tag-alias-3.c b/gcc/testsuite/gcc.dg/gnu23-tag-alias-3.c index c2fd4e930ef..9d7e7e11c7f 100644 --- a/gcc/testsuite/gcc.dg/gnu23-tag-alias-3.c +++ b/gcc/testsuite/gcc.dg/gnu23-tag-alias-3.c @@ -1,4 +1,4 @@ -/* { dg-do run } +/* { dg-do run { target lto } } * { dg-options "-std=gnu23 -flto -O2" } */ diff --git a/gcc/testsuite/gcc.dg/scantest-lto.c b/gcc/testsuite/gcc.dg/scantest-lto.c index 5f8abaf77f3..46c21f20bfc 100644 --- a/gcc/testsuite/gcc.dg/scantest-lto.c +++ b/gcc/testsuite/gcc.dg/scantest-lto.c @@ -1,3 +1,4 @@ +/* { dg-do compile { target lto } } /* { dg-options "-O2 -flto" } */ void foo ()