From patchwork Fri Nov 18 05:49:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6ZmI6YC46L2p?= X-Patchwork-Id: 22107 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp12467wrr; Thu, 17 Nov 2022 21:49:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf7wah42ZV4v7VTIxyl6snSYMe3tGEZUzg60+EI5IQISjxFI5opjH7ciZZ90NO6o0cTbsZS+ X-Received: by 2002:a17:906:60c4:b0:7a2:36c7:31ea with SMTP id f4-20020a17090660c400b007a236c731eamr4636822ejk.210.1668750589796; Thu, 17 Nov 2022 21:49:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668750589; cv=none; d=google.com; s=arc-20160816; b=qW0uEi+TMiqTY3Lw0YvTg2oJfjYHGIjXQ7j6H47STg9S9DGHWXrdx3GLBkYryVoR7l ANtAJw5EccNBMGtGFbQs352vVO5jKm0eysFEwnsKxdCeXh4vabI10GoWkTJOk7ATfaQQ jc9/yv313LctUw86y57i3zeXTwwgX5wxtuN+pgj2aWJA30YQhDT6UAnyp33bYxYKVIzT ElRPssH1ghByuq3HijSGrAsrAdSfugbkKqJvL7YTWdQneFlcW9KZTAxJQM9mIDJMuhyS SYrN3GuNeMEyZYeh5Fs8PoRmPRMoTLrFiWUYwxeFDzxizzKwzTJbbrqAGPRMJIoXn5xw 2/wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dmarc-filter :delivered-to; bh=s3kWWPIw1IH3hEHMWR7yVVzdn2vrCY4Ti8MHHI/B34w=; b=RQRKcsoH5WZJzvIvVzuibHAkrAV4VyxwpBQT/GoL84innG+lVakN2cp5ogTUnY7rRK sxfgULTZ2yxVhB8l0tirZNCH27gOfVmb7kIJwRN37XoLqIlEGqeU0au3AdQ0+u4XXr3G drw5vHRMkkwaH81n5f1qCY3Gtgp2wSQVcZbEryfEg1JiwDRvE9ah/IqxRRGybwmOngJc RF946SNr77S2p+lLtkxBvJEQuTgWZmjiiHPXjpmyXAEuwKIqO5DgV6nitdpXHMs9XXY3 cBj7/5VrMWlwquaMOp8KCIR2e8YHBvPcqgnyx9BDULbQzD/fzwGMw/ThR/AE+eZRnI3Q /hAg== ARC-Authentication-Results: i=1; mx.google.com; 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 sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qw42-20020a1709066a2a00b007aea7b8f70dsi2353415ejc.478.2022.11.17.21.49.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 21:49:49 -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; 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 9D54D384F483 for ; Fri, 18 Nov 2022 05:49:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) by sourceware.org (Postfix) with ESMTP id 623CE3857352 for ; Fri, 18 Nov 2022 05:49:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 623CE3857352 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=iscas.ac.cn Received: from ubuntu.. (unknown [27.16.214.61]) by APP-01 (Coremail) with SMTP id qwCowADX34_UHHdjfbZOCg--.40910S2; Fri, 18 Nov 2022 13:49:09 +0800 (CST) From: Yixuan Chen To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, andrew@sifive.com, oriachiuan@gmail.com, jiawei@iscas.ac.cn, Yixuan Chen Subject: [PATCH] optimize the testcase for architectures that use ".srodata" Date: Fri, 18 Nov 2022 13:49:04 +0800 Message-Id: <20221118054904.240603-1-chenyixuan@iscas.ac.cn> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-CM-TRANSID: qwCowADX34_UHHdjfbZOCg--.40910S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5M7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87 Iv6xkF7I0E14v26F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAK zVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx 8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIF xwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r 1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij 64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr 0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF 0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7VUbrMaUUUUUU== X-Originating-IP: [27.16.214.61] X-CM-SenderInfo: xfkh05pl0xt046lvutnvoduhdfq/ X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, 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: , 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?1749811818545180664?= X-GMAIL-MSGID: =?utf-8?q?1749811818545180664?= 2022-11-18 Yixuan Chen * gcc.dg/pr25521.c: optimize the testcast for architectures that use ".srodata" testsuite/gcc.dg/pr25521.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr25521.c b/gcc/testsuite/gcc.dg/pr25521.c index 74fe2ae6626..63363a03b9f 100644 --- a/gcc/testsuite/gcc.dg/pr25521.c +++ b/gcc/testsuite/gcc.dg/pr25521.c @@ -7,4 +7,4 @@ const volatile int foo = 30; -/* { dg-final { scan-assembler "\\.rodata" } } */ +/* { dg-final { scan-assembler "\\.s\?rodata" } } */