From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id D77603858D1E; Tue, 7 Feb 2023 02:13:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D77603858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x42c.google.com with SMTP id h197so213793pfe.12; Mon, 06 Feb 2023 18:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=wTD5jz2o8h2NPC9b5E2tzaAR+KneKtkt5WspGLdzkSg=; b=PInireC7dnYa5BMXgAvCiUFuyemm/gUCwoFfj+w9FyG94foiEBGzGk0Oa/sACf9tMS 6oY8qbqMq7MxL2G1jeMV0goeUZ33SF5xrx/8fiOfJkAdUvYuumzZDQNqu/bllmrlp/7J DGC7+CNb147eAk8R1nHWj3TGYiMzD8XTcmZwDMv5JqHA9nFcVVMsnzE4h8dS5EQJ0GfO O6tTL64+4GpBX9BbkKb4F9JvAu63m54eQ+4pxxOsmk7O2sO0Y8o1RocmNKAtVSPkmqYc JUI/9gVWE1rXyE3m9FsiwzGmqPwYs6OMtuYoV+2C06spxzmyzCjCudpdNFCzdgOL6+2x lwTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wTD5jz2o8h2NPC9b5E2tzaAR+KneKtkt5WspGLdzkSg=; b=4oQvqKvcGc9MFuNvLffGUIRpZMU4iqEPaw7mhvtPvafHY1ZXLoD/5BEPqPyTYoOmre vF44YodJySUK6y5K/uakLZr0rod0ZB7NqgqJW0+dqd1qTqwXYG9W8IMtFq+7TRDWYrNM h93pePQ5HJoMuI3q5Nlfxrxg1QqeAXlp0Q/k90JWThRwT3XzUR8nru6UKc06Kau8nhmL MS9pN+IFGQ+HgbkZMX7O1irme+Bkx1IWfEi4jrqhPDBkSXVvsAkUNQ6tAPaCmsQgD7l8 oFsa9JE+qxOJiq/Erf3k2vz7TDTrUzJ22ElnX365AzYFg261743cYC4oQ0GnNbbk+CKo Hryw== X-Gm-Message-State: AO0yUKU8/3fkfmNU1pC1GU8O5OQzkp5m/y9PqkSoPhCmrC2457zSaqQF FbYF1PjZTPx7980KUivb4f8= X-Google-Smtp-Source: AK7set+s5XiPda7Wqji+kF//qGIQrpQ+a/EEHWa9JRpcgKwbyZqC8QgfC4+ov6nID0Gci/L+VSXhFQ== X-Received: by 2002:a62:824d:0:b0:593:b112:5cf2 with SMTP id w74-20020a62824d000000b00593b1125cf2mr1747057pfd.2.1675736028790; Mon, 06 Feb 2023 18:13:48 -0800 (PST) Received: from [192.168.1.20] ([50.37.188.226]) by smtp.gmail.com with ESMTPSA id t8-20020aa78f88000000b0059260f01115sm7779124pfs.76.2023.02.06.18.13.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Feb 2023 18:13:48 -0800 (PST) Message-ID: <30cdd694-aa6a-b71e-ce69-fcbd0cdcf063@gmail.com> Date: Mon, 6 Feb 2023 18:13:47 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH] Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107] To: Harald Anlauf , fortran , gcc-patches References: Content-Language: en-US From: Jerry D In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,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 List-Id: On 2/6/23 12:10 PM, Harald Anlauf via Fortran wrote: > Dear all, > > as the PR shows, it is likely not a good idea to try to make an > ASSOCIATE variable static when -fno-automatic is specified, so > rather keep it on the stack. > > Attached patch regtested on x86_64-pc-linux-gnu. OK for mainline? > > Thanks, > Harald > Yes, OK Thanks, Jerry