From patchwork Thu Feb 15 19:07:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 201714 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp60391dyb; Thu, 15 Feb 2024 11:08:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWyTPXdhZ4y/zlNB0i9Xh8gWP0wk/rQKPRYecHZPDRBtcVz2cdS+DxVOj+Ii8QOOAKyW9GbmVkEjcEDV3bNtn6M8muuWQ== X-Google-Smtp-Source: AGHT+IH+JGzARKIX23DiCRMUTrD+EArq+lH4JxgjdnJld1XjGI5P/QnXJrkv013pnUPwBgncd7is X-Received: by 2002:a05:622a:489:b0:42d:a88f:1ce6 with SMTP id p9-20020a05622a048900b0042da88f1ce6mr3257111qtx.20.1708024124461; Thu, 15 Feb 2024 11:08:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708024124; cv=pass; d=google.com; s=arc-20160816; b=TNDBxzN1naFUGBseS8vJS6hb09kRBdH1WjPkmit95kcojzGBC/rJWNCdeBFBXrjcCr Wrcx/fjiTY+8H8TSUnl8P/ZFg1i5fhnMIAOW4ERG1UHqH8ISSXa/wCHcDrTZWqaAQEQZ JjhwxX0SfvNJ1x1o2eoMLjwlR7Piz9g/NvVqasTmJBtekEjAxBYCRF8hCFsVTg1PnKdX dxovClktrQaqiLudUzmfUR9FQP+wnhcvWkipF7/pkKyrYgFtSuHgOMpCTs3pFaxaQMe/ AXECRx0Snkgbmdz0poHAou/nxOveeQU+AwwYqFdK/cesxMfVtyuAheChzIMmig72NRG3 eWAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=43R1RckZpA31FPiUEYvCBzZGgS3aCt6K9F+y5J31pB4=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=veOOlnCKnf3CxbkhrzRb6ae4uR7x5nlm/5gUH10F1yMhvuhVdXK45DV1xCYPH3JnK4 ZfsR2MJzYU2ZBKIKdhyr+9YR6ofyC7XPOquKn1qxUczz1efGfTy/VlettTU6KwTDA/KS DhTW0yAJNvbVbznvMlEO0OColkz6D6wDC7UrArpWEJCNH3xvKil8oEdKAJNrrEJVFDSU SgxRmNk1sWmhWvXk2qX401ayQpVohzG3xKm46vp3BggCCQZ1oPY6AH5VSJXybi2I39g+ mijQ8ffj/gfhkUb5301h0gLPblZBLfs1fHTC1tYX2APdf4x3fCsp+WxiXap5Zt5gCF7D m5bg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Px/FhFfC"; arc=pass (i=1); 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=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id g17-20020ac842d1000000b0042c26f052bfsi1937954qtm.548.2024.02.15.11.08.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 11:08:44 -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=@redhat.com header.s=mimecast20190719 header.b="Px/FhFfC"; arc=pass (i=1); 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=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 322A6386D602 for ; Thu, 15 Feb 2024 19:08:44 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id C1637386C5B6 for ; Thu, 15 Feb 2024 19:07:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1637386C5B6 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1637386C5B6 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708024075; cv=none; b=IarqTy66Ed5augUPIBMHeY6kFsiGkMpYDiuv8P2RyMU1SN/IeRZ35/lMx7a08ltS9lDXLCHrTxaLP242gfbqIpQTJSAxvuEuAhlSb8F29hEZMrHxHDE4x5IdAZyjz7MFssnhYtMkQrIoR3vXrSWV7gfhqJ/und0o+ZdI805NfMU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708024075; c=relaxed/simple; bh=ijsa6Y4nIA55C74HzKcLQijTJo/My6KSjlxJec26SA8=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=gdKELKAfLtU6dDDVw1BVp8PI9sFScwSqljKVR/6deXlncPImKjRwcMcpzpSWUrENykV9704zg1Oe6kaaQbPaZkUD8LOnXJ1LkwFJ0Sryjy179dayBDY7v2sKCTSWpIjY0mcx87rrUsM5W9dZTvztuoTuGnHw1RmnSo72Sn2INzY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708024072; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=43R1RckZpA31FPiUEYvCBzZGgS3aCt6K9F+y5J31pB4=; b=Px/FhFfCo1YOI+SuLPQxSUAWrnIO54WWcJ3mAGGbC8u825RhMlhiNtn/9xMX5rAxXrktM7 bPB2hInjpLGmZCDnCcXNaqn7JrjP74UrQ/Y5VYWV4RsgsXlHeSpj50Nyf1eMbrHO9Veh4z keoWludK+EtDcY6xR75BQPZlegHuA6g= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-sTEEp7TFO1GDl73m0Smf6w-1; Thu, 15 Feb 2024 14:07:51 -0500 X-MC-Unique: sTEEp7TFO1GDl73m0Smf6w-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B0A118B27AB for ; Thu, 15 Feb 2024 19:07:50 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 744351C060B1 for ; Thu, 15 Feb 2024 19:07:50 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 41FJ7lMp1235525 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 15 Feb 2024 20:07:48 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 41FJ7lW31235524 for gcc-patches@gcc.gnu.org; Thu, 15 Feb 2024 20:07:47 +0100 Date: Thu, 15 Feb 2024 20:07:47 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Require lra effective target for pr107385.c Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790993104318193608 X-GMAIL-MSGID: 1790993104318193608 Hi! Old reload doesn't support asm goto with output operands. We have lra effective target (though, strangely it returns 0 just for 2 targets out of at least 16 targets with no LRA support), so this patch uses it, similarly how it is done in other asm goto tests with output operands. Tested on x86_64-linux, committed to trunk and other release branches. Thanks to Andrew Pinski for noticing this on IRC. 2024-02-15 Jakub Jelinek PR middle-end/107385 * gcc.dg/pr107385.c: Require lra effective target. Jakub --- gcc/testsuite/gcc.dg/pr107385.c.jj 2024-02-15 15:51:24.171246580 +0100 +++ gcc/testsuite/gcc.dg/pr107385.c 2024-02-15 20:02:15.023763659 +0100 @@ -1,5 +1,5 @@ /* PR middle-end/107385 */ -/* { dg-do run } */ +/* { dg-do run { target lra } } */ /* { dg-options "-O2" } */ __attribute__((noipa)) int