Message ID | 20220421021643.17775-1-palmer@rivosinc.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rivosinc-com.20210112.gappssmtp.com header.i=@rivosinc-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=wUPth9+V; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KkLmY3mBqz9sFk for <incoming@patchwork.ozlabs.org>; Thu, 21 Apr 2022 12:18:04 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D00F03858D1E for <incoming@patchwork.ozlabs.org>; Thu, 21 Apr 2022 02:18:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id 2B95C3858D1E for <gcc-patches@gcc.gnu.org>; Thu, 21 Apr 2022 02:17:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2B95C3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pj1-x1030.google.com with SMTP id md4so3631575pjb.4 for <gcc-patches@gcc.gnu.org>; Wed, 20 Apr 2022 19:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=subject:date:message-id:mime-version:content-transfer-encoding:cc :from:to; bh=PZyUEhoT2hVnUwU+pBD4LDqWtbp89kz6ablDGgobCdg=; b=wUPth9+VEKLfOc5c7NWK4JjPMSLGSl8NVJz8ch9i/iugmU9wLyl7STjtHPS3VycbSE AtGPZHZKgDxD0gAxzT32BjnfC3Z2zzvtnNdJLkLHIsayMG+YPS9Lc0nJE4I9K+2FrPyv BjZled6FFQWyKKiCZfBkp/hZNI//CrHpH4N3iQtcUOC8bG4JWlnsJeygOJ7xIZyD8oDj 2bZPWu7D7PEsnVpH86VMbmdxJtjZ4pkDoC5GesL89XCMGQQbHOORimxNx4nUMpl4GVWH txmV4HrldKdGO0tNzW3K0Ce/nwilT5xm2BVWxvHZ72KiZTnlBBSlo3KRrgYby06s2caF H96g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:date:message-id:mime-version :content-transfer-encoding:cc:from:to; bh=PZyUEhoT2hVnUwU+pBD4LDqWtbp89kz6ablDGgobCdg=; b=y/iTFoGpvzi75qdPRUFu7dL0L8j/wLOtGuPDDKpG7XSYxJrmJcjob6At4TiQBMM7HQ xO0jFEUFGeTa3lDmmYD5v+d0c+B5ln3yRSaYHv8pluGd03j/Gw81aL/81+8KXvGkJ486 zddeCkNfgofL0VDoPAe8Fj+UBsO802MaKoEbbCZCCVy2Iiv2wLa1ToQNkRBZ/I2jlL6Z S849qfNiFuh+ugLE6dR4NSzsbuOs7Z6B5cpdtw1Rq2cSS2pRq2LzqsZnMAMAbKAYw6Iu 8pGx7KgxELt20byybS/nw23dBuPh01os/BudXgAXMjkLd06QsOqXNf3Yhod7m2TW7g4Z yFeg== X-Gm-Message-State: AOAM530/Hk6JL8CHd90RMilIf4lEc1pOa9GluIfmQCN9dKOVdmzrGHHb PXk9tG1F2X2xAQ+xaPQN7RQDeg== X-Google-Smtp-Source: ABdhPJxgT/G4YL2oRxvrUOwzKjOXblabHo+L4OIbwZ6L7m+PvojL6yN3LROjAiiMyN+xOGEbrr4/xw== X-Received: by 2002:a17:902:ab43:b0:156:6f38:52b3 with SMTP id ij3-20020a170902ab4300b001566f3852b3mr23248599plb.135.1650507457769; Wed, 20 Apr 2022 19:17:37 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id j7-20020a056a00130700b004b9f7cd94a4sm22718431pfu.56.2022.04.20.19.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 19:17:36 -0700 (PDT) Subject: [PATCH] c++: Add srodata to the allowed sections Date: Wed, 20 Apr 2022 19:16:43 -0700 Message-Id: <20220421021643.17775-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Palmer Dabbelt <palmer@rivosinc.com> To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
c++: Add srodata to the allowed sections
|
expand
|
diff --git a/gcc/testsuite/g++.dg/opt/const7.C b/gcc/testsuite/g++.dg/opt/const7.C index 5bcf94897a8..8bbd9db973f 100644 --- a/gcc/testsuite/g++.dg/opt/const7.C +++ b/gcc/testsuite/g++.dg/opt/const7.C @@ -4,4 +4,4 @@ struct B { B()=default; }; static const B b_var; // { dg-bogus "" } -// { dg-final { scan-assembler-symbol-section {b_var} {^\.(const|rodata)|\[RO\]} } } +// { dg-final { scan-assembler-symbol-section {b_var} {^\.(const|rodata|srodata)|\[RO\]} } }