From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by sourceware.org (Postfix) with ESMTPS id 564483858D28 for ; Fri, 6 Jan 2023 08:34:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 564483858D28 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=1672994038; bh=eom78SRk/TLY0YYdJurBqPIGqwKcejwOOMsx7H8gAhM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=j2KRCWKbp+x8VTcly4Sn8V1MnmFaHaoejiYFMhdumrT/0uX/pbzFfyEflB7BFijUX LoLIUrOkteoMcZrSeOVrzsbVQTkUv6+F1PZfP4GvPlyJI+x4TLP/PDTHqRdMH56Ink 44WDpdo7EAG1nN7x5enpkB1Jej9qtrUkIw/4RDJVn+Cyq86gwmsuIiZUEpgrUkTYjR yqg4m2WkMhB8NTBX1n+uonyGLatQMOLCBvHSuKNB6eKyYzDbucDPeo7Zt93V63Mx1n MAp+QJQAbj1xpcUlAWkglE0KXDCxOELyh15xnAsYzjg6zF5LgyWM13bQOaPYXKz6sU 4XH1Rj+/kiNqA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [93.207.84.170] ([93.207.84.170]) by web-mail.gmx.net (3c-app-gmx-bap40.server.lan [172.19.172.110]) (via HTTP); Fri, 6 Jan 2023 09:33:58 +0100 MIME-Version: 1.0 Message-ID: From: Harald Anlauf To: Jerry D Cc: fortran Subject: Re: Fw: Re: [Patch, fortran] PR37336 (Finalization) - [F03] Finish derived-type finalization Content-Type: text/plain; charset=UTF-8 Date: Fri, 6 Jan 2023 09:33:58 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <78aafe8c-dcf9-55e6-50ce-c6289ea1f3fe@gmail.com> References: <9a2667e2-8055-bcac-1862-05c8ac60ce7a@gmx.de> <3cbaf568-84ac-8498-558f-9560fe395d66@gmx.de> <7ab973cd-f62e-28be-36e8-4e44252a4a38@gmx.de> <061aee5b-c27c-3a9f-419d-9893c2d744c4@netcologne.de> <78aafe8c-dcf9-55e6-50ce-c6289ea1f3fe@gmail.com> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:IE2/LtZQxnnXHEJi0gUt3GrYYsuB1UAhL2ug4OXulseVbmiG+YxM7YBqqzqTuiG21UpoE +2XjYlgqEnY8ODRwjKWqITDHxu/xPTTKRvwB05qmAzAmOugP4zq0VBxKSglFedLPg2VdWVQGUdJu zWrsrGSU+GSKI6ym9XeBJa82bqT+TTwsIA2Jyr3f8BJu3oXsM4SbNiR2mW6C/YFqiBpHFgfCbtIO s3XVY930/XDKCCocnbKHgNDx1ahFixzvTMJrD7crWeekI+MhnPLyjMEpUhtq9NbhcgciPt/ChlsD SA= UI-OutboundReport: notjunk:1;M01:P0:FfcTjtY75OE=;Nyi5ICmQQC8RBW3dEDsVsvPsQe1 1b4KbJdvJ4KM5nzBUk4l7SMiRqCkBoyYYy6Z45erRin5uHzGMw00vDqFBb3+4XaStC4E1QbSS poXoyjcj2XP/wlmIxy0Nty0S0XsWgu84yOzeBEiP2uv93jDVtvxuCLH9T0Qi8heZxd/EOgR3+ VK0V/jAhcn2P8cDYvheb7fRspIh9K2y1bVQY7Z6mqkzvuC7fgcMZb1rceeqm0RAEkfS+q9Ay4 1wxOZJ2VUjdFFrmRBrNd3M4jmyscOIYA+9DMPm/Pv245lylIQSGuqZD47i1ufA3Y0N8ajK7Re HFEhIA2zWqB+wJdC0TnOPmQxinpI0MLCKK7GLo/EwnG+6vYCQdJ5l83lD3F3ffpenWRYQe1B5 Jb6kch118M7VOe/imaID8VBr+tx8jXcB4FaBfaa4BA1DHtehuaIYR3izb5PeR/eJ9yjdrsSNv lYHzI+ZxFaxHiUYtVfrOgAbMGSuFJAG4E/kE89CCV2awvBiZPC4RMTVecFHzY9Sa5R5zW0jxo XT6DW8q+58R4pA1xG2Wagg2j2hmTJEnz9GTgC7uAjA2vtoWxoria4nWTUPRAZSlsx2iUEORah datTfueq4YhZy9j2LDYETaFGASJoHsRrCX9sRUdwv2V0MlFkQksU3d5gChbXpYjFc6NqOkn5V 1vUeASfD5g6t7ySYjdayymYhk+zA3uX6kaFt07lU4gGjyXOqrHKY7p/JRMsG+PfKqEBVDemcO vOl45Zj5gJlP20h1yJ5MIsK5O5nO4SWXJFpkOZW0loT5qFHz83s00YBPsz4R+2oS1ijPcCiGq 6wJDz+Jrne/4KD6KJhrLnIOA== X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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: Hi Jerry, > Gesendet: Freitag, 06=2E Januar 2023 um 04:08 Uhr > Von: "Jerry D" > An: "Harald Anlauf" , "fortran" > Betreff: Re: Fw: Re: [Patch, fortran] PR37336 (Finalization) - [F03] Fin= ish derived-type finalization > > On 1/5/23 1:14 PM, Harald Anlauf via Fortran wrote: > > Resending as plain text, as the original version did not appear on the= fortran list=2E=2E=2E > > =20 > >=20 > > Gesendet:=C2=A0Donnerstag, 05=2E Januar 2023 um 22:10 Uhr > > Von:=C2=A0"Harald Anlauf" > > An:=C2=A0"Paul Richard Thomas" > > Cc:=C2=A0"fortran@gcc=2Egnu=2Eorg" , "Alessan= dro Fanfarillo" , "Andrew Benson" , "Thomas Koenig" , "Da= mian Rouson" > > Betreff:=C2=A0Re: [Patch, fortran] PR37336 (Finalization) - [F03] Fini= sh derived-type finalization > >=20 > > Dear Paul, all, > > =20 > > I had a first look at the patch and the testcases, and I really look f= orward to getting this into gfortran=2E > > =20 > > A few questions surfaced when playing with it, which is why am asking = for others to comment=2E > > =20 > > Testcase finalize_38=2Ef90 exhibits a (potential) discrepancy to my ex= pections when playing with options -std=3Df2018 and -std=3Dgnu (the default= )=2E > > =20 > > What is the expected behavior of -std=3Dgnu?=C2=A0 My expectation is t= hat -std=3Dgnu always corresponds to the latest implemented standard (curre= ntly F2018), except for possibly allowing for GNU-extensions=2E=C2=A0 This = might imply that corrigenda to a standard or a newer version may lead (over= time) to an adjustment of the behavior=2E=C2=A0 Any opinions on it?=C2=A0 = Do we need to always test (in the testsuite) for compliance with older stan= dards? > > =20 >=20 > My understanding is that -std=3Dgnu tends to be the least restrictive an= d=20 > will allow finalize_38=2Ef90 to compile possibly with warnings=2E The=20 > warnings are to allow the user to know thay are out of current=20 > compliance, but we should not fail on code that was previously compliant= =20 > and less we specify -std=3Df2018 which is more restrictive=2E So if e=2Eg=2E finalize_38=2Ef90 compiles without warnings with -std=3Df20= 18, it should also compile without warnings with -std=3Dgnu, right? Harald > Jerry >=20 >