Message ID | 20221110102031.1366016-1-aldot@gcc.gnu.org |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp60116wru; Thu, 10 Nov 2022 02:22:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf5lLrgi3gQORwoeIOGA7e3ApGlqRAhZtSFHJDcgGaV7O+MtqKxZS2QlgIAFhTuTCU6zkQin X-Received: by 2002:a17:906:730b:b0:7ae:a2cb:b191 with SMTP id di11-20020a170906730b00b007aea2cbb191mr1849038ejc.672.1668075721281; Thu, 10 Nov 2022 02:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668075721; cv=none; d=google.com; s=arc-20160816; b=IMiSakYGM/Nc159jeDP6xFbC86Xn44j852hVZn+BxTxxo6pFbF0jRNNQu3ur7zhXqM nNdus7rdJsaRxfCIlytTKv5FjaVV+8As92Onhkq4zWj2IZl2/tv9SxNuc8X+rPdxSwu+ 4SLQf15rcyF2V62JE9AfvzXlSAfww1Csud9n+ST0du5zQOiocLKrUMTBCfxwmz3rGJSp ubwkkjiOXoTZKaIu/Ca9y+4mgBUF3S8TujXSMWc0ZtmQXx3ohIVPzySjJePBh5/AVVoB etiQh/p5A9aSiB6I1nWGm3i0+AoHI4v7C7ii1c7Cd/Ad0i8HzEug8YJqQZgglHyjbzCx cigg== 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 :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=mf33nMGCycl56xZvTSQGw+381fDI4ebPb0MuUWHEWBk=; b=W2+hWk0ATyaatUsKZcMt5itxeHzfFlkSeQ69JkYZFgLOCjsLPZqT6m60p1q2niQ7vv Gi6F6miRCJEfQq2VELo6/GAOVDTL7D6r8vjqNciKk7Z84sMUnrn/QVJ5BVCWZcLsfZPL vZrCYpEREuOkNM1IjPiTzmj36Nup6sW3KHKxWZskaFpjrGapzteR9cSAwoxUFosLThQb J+fe7zOdEBzpdE+Jo4N8z41jHn6KwSbedyDUxi+g2PzmtCI5ozf144gIrgmahI0U+QvL up3rGwlybwrZsV6uxWeiAUrjslA9DCsy785dIPYi5/XQohTsxdL3BZrQSoiUoG+2HUQZ Hmlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=SwNPHLB2; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v14-20020a056402348e00b00456e33b69e1si21982192edc.347.2022.11.10.02.22.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 02:22:01 -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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=SwNPHLB2; 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"; 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 B13E2388883F for <ouuuleilei@gmail.com>; Thu, 10 Nov 2022 10:21:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B13E2388883F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668075686; bh=mf33nMGCycl56xZvTSQGw+381fDI4ebPb0MuUWHEWBk=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=SwNPHLB2StGnG9e3i7Z9QTiY0r9mc+G7kgMIZKkfLdOmKFB3Bf70Jni79vdHXJTqo 8B3X+QQBDsalEexmHl0i0XgXZx4c9Gm2Tq4IXRPH2kSQiCFbJOCiTecw6Hz/LQU+S2 aQhIUXbxLlWtG2+jlbNcyqLKth6OGuv3eO/7WAcY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id DF5653858C60; Thu, 10 Nov 2022 10:20:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DF5653858C60 Received: by mail-ed1-x52f.google.com with SMTP id a13so2417848edj.0; Thu, 10 Nov 2022 02:20:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mf33nMGCycl56xZvTSQGw+381fDI4ebPb0MuUWHEWBk=; b=5bM4lBRfePj2zL0rFzwDtwRxdiUtLndu80BjSDNjUZtuRJbFjuoPdjc+PYwsgRGxqf ufRs7JszpUWwVjzvz93tLN4jiIs7AgOd6NRSAVN/lRcy5y0oxOKCSiLTGYx1LWXforTJ uEWhXh3qS4lygmBi3ZSVc8CIH2GNHrk3eQiZOhadn7GqsFc/RVsHva6jIVPcuPXMfK9B DthPN1dNkeCuS6o1vDxDVlolxNSH9ghc8bKHPebTfVpinGDkGz3pIvGx+1LQEmKfpLyP nEzOpcuWYZcENanFxEt9OOyi/VK3byKXdOjQ+CU9eS06XQ6ffABAzuB4pS//Y0kfdRmn 19Yg== X-Gm-Message-State: ACrzQf3faIIOeQgUwKJWkwiRJ56ynLGjzR7SMwm2j0pa4UTSJy5T9sNN eP43QLtg7qMgA1QR8ZXR/qA= X-Received: by 2002:aa7:dd57:0:b0:453:2d35:70bb with SMTP id o23-20020aa7dd57000000b004532d3570bbmr63103049edw.26.1668075634304; Thu, 10 Nov 2022 02:20:34 -0800 (PST) Received: from nbbrfq (80-110-214-113.static.upcbusiness.at. [80.110.214.113]) by smtp.gmail.com with ESMTPSA id l26-20020aa7c3da000000b0045bccd8ab83sm8442785edr.1.2022.11.10.02.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 02:20:33 -0800 (PST) X-Google-Original-From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> Received: from b by nbbrfq with local (Exim 4.96) (envelope-from <b@localhost>) id 1ot4fg-005jMo-2H; Thu, 10 Nov 2022 11:20:32 +0100 To: gcc-patches@gcc.gnu.org Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, Bernhard Reutner-Fischer <aldot@gcc.gnu.org>, gfortran ML <fortran@gcc.gnu.org> Subject: [PATCH 0/2] Fortran: Add attribute flatten Date: Thu, 10 Nov 2022 11:20:29 +0100 Message-Id: <20221110102031.1366016-1-aldot@gcc.gnu.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 <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> From: Bernhard Reutner-Fischer via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749104167499971652?= X-GMAIL-MSGID: =?utf-8?q?1749104167499971652?= |
Series |
Fortran: Add attribute flatten
|
|
Message
Bernhard Reutner-Fischer
Nov. 10, 2022, 10:20 a.m. UTC
Hi! I could imagine that the flatten attribute might be useful. Do we want to add support for it for gcc-13? Bernhard Reutner-Fischer (2): Fortran: Cleanup struct ext_attr_t Fortran: Add attribute flatten gcc/fortran/decl.cc | 41 +++++++++++++------- gcc/fortran/f95-lang.cc | 2 + gcc/fortran/gfortran.h | 1 - gcc/fortran/gfortran.texi | 8 ++++ gcc/fortran/trans-decl.cc | 13 +------ gcc/testsuite/gfortran.dg/attr_flatten-1.f90 | 41 ++++++++++++++++++++ 6 files changed, 80 insertions(+), 26 deletions(-) create mode 100644 gcc/testsuite/gfortran.dg/attr_flatten-1.f90