From patchwork Wed Nov 30 07:59:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 27621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp788161wrr; Wed, 30 Nov 2022 00:00:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+Fu0NKc7MuarOsvQd1na+m+daGhHcVb3BHgUwHltchY07gA86iKbbKoLDN/HqM5yhdCdK X-Received: by 2002:a17:906:bf2:b0:7ac:a2b7:6c97 with SMTP id z18-20020a1709060bf200b007aca2b76c97mr49387475ejg.497.1669795247979; Wed, 30 Nov 2022 00:00:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669795247; cv=none; d=google.com; s=arc-20160816; b=wADzX8ZQk0dGR5dOrPqjWofeY2i6m4/q+anYHcLECMmxlxp4bwED/gEkO26dIhMgO/ 88k0PTG3Nu7XzulJUZMor+gNtF7OmM2pbCxa5B6AmTz5mtresZCuOQYqeUFv7yscP7Am 01CTvVa9/+QV0z1Zz4CBmEgL+wd4NAn0w5gTNRfNd7W+CC7qWsD4H4SGFRTXfHf+4WwV B4z+GejDqDVeHixzGo0hAZ/62xVSe4MNTzsI3FqZU9uJlipA8LHb/egTwK9pYmCb9XKD xR2MUQVoDMUenpvbcpetN2mtGOXLSRTkIbY5g+N44X9XUpXzul+Kaa8OYDAccR5/rxsO nLkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:mime-version :user-agent:message-id:date:organization:subject:cc:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=mnmF843ntKOqehUn1RZ+Pn9H+MkN4c6CHtB9MV1+y5E=; b=VVlDKe0LkrP01nNQEeVdCwf8hL+ahA0ohbiylnc090z/J/GQPIUSSwG81Un8UUPc6o zZxj5bD/uKR/aJGHEbUPTfRngbkDiuXATD66FJRRUFXJFjk9yNz7JhFWOJ900inSka8b o52pUJERVNGobG+9wj2krU8XNRPHZMpkcvJy6bh5FgRTs5zawT2RqSpJ4/NfVk5UT+9x 0E3FfbiL5I8Mc1rXRwBRpo9xmU01kgN32skgiv+PS6IPKyK1N6DhD/mneXqjH+Ytv9MK 2IbXSmY8m0sRHN7zcbjQiWTtasksAkl1Gymgpe8f7/TryrWFmBHjUkDBJhSxpLbdgCB9 WrxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mbUULGKJ; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id hg5-20020a1709072cc500b007ae1874c142si788819ejc.446.2022.11.30.00.00.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 00:00:47 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mbUULGKJ; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1684B3855159 for ; Wed, 30 Nov 2022 08:00:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1684B3855159 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669795241; bh=mnmF843ntKOqehUn1RZ+Pn9H+MkN4c6CHtB9MV1+y5E=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=mbUULGKJ8JfsQ8HjHysU9XAu6Tr/52Qqc/Xvsx6Db9malN3RrVAx3MO+OWzVtQdQ2 rNjnv19kmRsqPm/V1X2rs2U0fL3Fz4opBPuQyH6J/RUO6HIM6HbfGpouHSj0dDOTq1 jiupRFJhd6c6UoF6woOO+TU0jqjLbDCmVATud3mU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTPS id C37DA3858D20 for ; Wed, 30 Nov 2022 07:59:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C37DA3858D20 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 787201169C1; Wed, 30 Nov 2022 02:59:56 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yeRVv0iCQO4K; Wed, 30 Nov 2022 02:59:56 -0500 (EST) Received: from free.home (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPS id 0B5451166B6; Wed, 30 Nov 2022 02:59:55 -0500 (EST) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 2AU7xi761227289 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 30 Nov 2022 04:59:45 -0300 To: gcc-patches@gcc.gnu.org Cc: Rainer Orth Subject: [PR107304] note test's ifunc requirement Organization: Free thinker, does not speak for AdaCore Date: Wed, 30 Nov 2022 04:59:44 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP 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: Alexandre Oliva via Gcc-patches From: Alexandre Oliva Reply-To: Alexandre Oliva Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750907221786495728?= X-GMAIL-MSGID: =?utf-8?q?1750907221786495728?= The test uses target_clones, that requires ifunc support. Tested on GNU/Linux/x86_64, Solaris/x86 (thanks Rainer), and with a cross to x86_64-elf. Approved by Rainer in the PR. I'm checking it in, trunk only for now. for gcc/testsuite/ChangeLog PR target/107304 * gcc.target/i386/pr107304.c: dg-require ifunc support. --- gcc/testsuite/gcc.target/i386/pr107304.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/i386/pr107304.c b/gcc/testsuite/gcc.target/i386/pr107304.c index 24d68795e7f1c..0043b7b21a32f 100644 --- a/gcc/testsuite/gcc.target/i386/pr107304.c +++ b/gcc/testsuite/gcc.target/i386/pr107304.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O0 -march=tigerlake" } */ +/* { dg-require-ifunc "" } */ #include