From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by sourceware.org (Postfix) with ESMTPS id 840043858D35; Sat, 3 Jun 2023 19:10:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 840043858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1685819423; x=1686424223; i=anlauf@gmx.de; bh=PRPStA/72CYgoMn2g5//6atTv6dVNcEBW8IRWlq91qI=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=JpyO6M15lZZvms18UBD1E4iuaOdDiG90qvxJXgRnIHcto7sqX623mGy+6a9tb/F5BYUZK+w NEv8TqYZtKdBudbauCCUATYsHztm+cPuFnV2Pbefkm8AEfd4WKVBeUvZI+HwLc6JUjuzF1wxw 4gyAGCc+Y5G1ejld9ApClfMHMXH4BvzJIhQayZyYX9ksMtwABHdEhSeIQ3TlLPzP1S1304m7S tnyTcEd1rGIeGFekowk9T5JM8xtn07R6KPRbt99l4XL0tW4Ae+tSknG/cH+xTf5srAwMDlBtx 9RQ2xwalhpbRwqkO8duRBj/tBWwzRkmCNeRGHg5re1DKL0i2XABQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.29] ([79.232.154.41]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M7K3i-1q01OF2ncq-007lDN; Sat, 03 Jun 2023 21:10:23 +0200 Message-ID: Date: Sat, 3 Jun 2023 21:10:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [Patch, fortran] PR37336 finalization To: Paul Richard Thomas , Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc-patches Newsgroups: gmane.comp.gcc.patches,gmane.comp.gcc.fortran References: <552d5ed3-d137-b9dd-7b67-e561070aa001@netcologne.de> Content-Language: en-US From: Harald Anlauf In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:2wviyEfRd8gZLHO4cNnovHJrrPAQlfO7m4IDVeTt5z+vcawsVeH DlZMznICz8Q9Md0EGQY4owGnA6wz4Qe8x1h1ELnmiWGf8LObsBMIGuFQKxLICOmnjVSZUG3 XdkPA1kCc95qHiqVKfHTOKRx4pvb51P8KsJu2jQGe3P1JJiiA0EmSvk4z2oVGpszsfuuwI3 ikmRHMou5crbTQm8clC9Q== UI-OutboundReport: notjunk:1;M01:P0:iKwp0NtaYLE=;wULDzJwauP8fbyKS67IcgN9a3v3 RlYb3ps/wfu+73a57LsxscBfg6CNgxRROL8keDPsUDnA0N0UoK001kJFT7ilga1Y3gIZLksIj 8IG0YO90c3XoqorZFKCGEeJQtMNMeXDMxzAxsrMo1xVEAFDgSpvO79J8K+fOcCpWfDEqQLJWf P0dpryp2Nbd7lGPpNpnQU+Fl6RSOOJyOyquF3GSvMeDzXsOVZnjfxDnJsX5sI3IArUA+oaZeT NVh5h/zG7aKdRUyNTmHLdht0D3GGGs+YiNhSyK9vtraQk7kUCKHFDqhy1HUiB85GYIpeRV1Bi CA5vkpTDX/6jE5m754S0BKhJA9LMojnTpB7mVBljS7P0OQ3mQSjhH4y5K2ttUXXvuQ5RmB0ji Q/tlAjSo01NTMwNpToYZ7O+NL6wVZZbPQY+145wSqveKCD7w/7DongyvaP0xU+oiLM4NIVbTG iQ1rsrnwxjI4oCs3Fav7m4/Bll5lJPphUp/rbJpmel3IJphxdAoo6ZDvSkJ6tlt9Z7ivZiBnz SLLgDY/taht07IJv8kOZ3tSHN9VpebRznq9rBVrJYOnDOoXDUefPbtp40JrXeOQWcwA0h3fKd VlRDNS3au1Ar2cDObIPx3UP+3DwEJtD8XHwb8P9TA+xfaZzS1uZyVJqdKdM2Ha7s3r50NFDF7 3rLtg3Ci0PvEj0337ga5/ZuisR1PB2zY1GPVX8dkXs1OOKXBGR71d2hivSwn+QzktZL7n09oy LWcA3S3+ipjqD3KWkNQ2xUWHGr5puRT/CA8Xtx38GyFsN6/bo8q6sElzTrn6uIDz22rS1sM0V SLMAhmBz8mMK+vqhFQg2W4u6yHWKqMWKh4Po+pEoig8DX8s7a4oeYX/Fq6pVoecu+sdi08QwU MXghFO9F5f6HjOZUgZrggZZK2SShKud4zJxcDNAuRYvYiNZcvMZXVcyBMQ3OBOGLHlRGMaqdJ WgaS9Q== X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Paul, all, On 6/3/23 15:16, Paul Richard Thomas via Gcc-patches wrote: > Hi Thomas, > > I want to get something approaching correct finalization to the > distros, which implies 12-branch at present. Hopefully I can do the > same with associate in a month or two's time. IMHO it is not only distros, but also installations at (scientific) computing centers with a larger user base and a large software stack. Migrating to a different major version of gcc/gfortran is not a trivial task for them. I'd fully support the idea of backporting the finalization fixes, as IIUC this on the one hand touches a rather isolated part, and on the other hand already got quite some testing. It is also already in the 13-branch (or only mostly?). Given that 12.3 was released recently and 12.4 is far away, there'd be sufficient time to fix any fallout. Regarding the associate fixes, we could get as much of those into 13.2, which we'd normally expect in just a few months. As long as spare time to work on gfortran is limited, I'd rather prefer to get as much fixed for that release. (This is not a no: I simply expect that real regression testing for the associate changes may take more time.) > I am dithering about changing the F2003/08 part of finalization since > the default is 2018 compliance. That said, it does need a change since > the suppression of constructor finalization is also suppressing > finalization of function results within the compilers. I'll do that > first, perhaps? That sounds like a good idea. Cheers, Harald > Cheers > > Paul > > > > On Sat, 3 Jun 2023 at 06:50, Thomas Koenig wrote= : >> >> Hi Paul, >> >>> I propose to backport >>> r13-6747-gd7caf313525a46f200d7f5db1ba893f853774aee to 12-branch very >>> soon. >> >> Is this something that we usually do? >> >> While finalization was basically broken before, some people still used >> working subsets (or subsets that were broken, and they adapted or >> wrote their code accordingly). >> >> What is the general opinion on that? I'm undecided. >> >>> Before that, I propose to remove the F2003/2008 finalization of >>> structure and array constructors in 13- and 14-branches. I can see why >>> it was removed from the standard in a correction to F2008 and think >>> that it is likely to cause endless confusion and maintenance >>> complications. However, finalization of function results within >>> constructors will be retained. >> >> That, I agree with. Should it be noted somewhere as an intentional >> deviation from the standard? >> >> Best regards >> >> Thomas >> > > > -- > "If you can't explain it simply, you don't understand it well enough" > - Albert Einstein >