From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 1200B385B834; Mon, 30 Mar 2020 08:15:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1200B385B834 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Tobias_Burnus@mentor.com IronPort-SDR: PZXPyPcoGd0GZSRGw0OVhauJNbVYWDsYUPYKmi+bVL3tdANkT9X8YAD7CmJQslN0B86+yDExrk M5KIsKtWVCu5fgC8uD3sT05jaPVoCa9TEaj658ZZ97k+4o4yRnB+yq+NsfxMOoVsTKJTc6aNiZ LU2Rd1myGl6FlXcjv7F7Jxas37yizlTxKqxfgXviR/HH0q2GLz24YE0MKH4/mwbV93qqSKarEp L48B07Uk7G1H/5E+ylT+o36xGB940RJTAkb7MlqXbenBbkXXIWkVsXCeV6mvSjt21MhjpzmTYr 6F0= X-IronPort-AV: E=Sophos;i="5.72,323,1580803200"; d="scan'208";a="47232025" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 30 Mar 2020 00:15:27 -0800 IronPort-SDR: HHPP78CWUJ+HjwQpHDqWnpCD+msFZMbBXlEkkajTGya2aAsmDaUzu82Ob8UG2XVw/kbPfSmZX0 mVKn203CPCKqhqu6nsa3OgY3CZC6AWayW6laVGRoF0iq7c2P6jUJeV4TwXvJBCKn0714clK+DS IfBY6DI3Og/zEv9A2yZ8ookyKGvNGIHBCrCrI9NyJnOXSnIMKbi7qtxQEkCRF1cjyxVNAg78Qa 0Y66Wps7/dkMhJ4nSvoiAUuSFC9uXQ0Wws6H5MXnxGtrMeVYmjoD67yJ0szOwbcdu99tHo0QET nHo= Subject: Re: [Patch][Fortran] Fix error cleanup of select rank (PR93522) From: Tobias Burnus To: gcc-patches , fortran References: <91ba9fec-1f19-2eb1-19c6-1c6d7f0a9d0a@mentor.com> Message-ID: <9181d575-fb6c-8255-7bc7-1fc6ac6d0d0c@codesourcery.com> Date: Mon, 30 Mar 2020 10:15:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <91ba9fec-1f19-2eb1-19c6-1c6d7f0a9d0a@mentor.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) X-Spam-Status: No, score=-17.2 required=5.0 tests=BAYES_00, GIT_PATCH_2, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 08:15:29 -0000 Early *ping*. Tobias On 3/27/20 11:06 AM, Tobias Burnus wrote: > Hi all, > > here, the reject_statement cleanup and the freeing of the > namespace both remove the symbol. Solution: Remove it first, > then clean the namespace =E2=80=93 then the reject_statement has no > (deleted) statement to cleanup. > > As select rank is new, that's again a GCC-10 only > regression (of invalid code). > > OK? > > Tobias > > PS: valgrind shows > =3D=3D71237=3D=3D definitely lost: 0 bytes in 0 blocks > =3D=3D71237=3D=3D indirectly lost: 0 bytes in 0 blocks > =3D=3D71237=3D=3D possibly lost: 0 bytes in 0 blocks > I did ignore: > =3D=3D52255=3D=3D still reachable: 500,682 bytes in 2,181 blocks > which is the same also with 'select... end select' commented. > ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstra=C3=9Fe 201, 80634 M=C3=BCnch= en / Germany Registergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thomas = Heurung, Alexander Walter