From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 11B713858C54 for ; Wed, 8 Mar 2023 10:28:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11B713858C54 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.98,243,1673942400"; d="scan'208";a="99400610" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 08 Mar 2023 02:28:59 -0800 IronPort-SDR: SUJyCqH8KvSOewArMVG4iJSfymvFI4rfSqv8UMyKWjGQWMO3jOq+gvwlTnht47rRBhmPl/6b+k Wa7FdhJM7uGKJ651lXx3k4a15pqHadscieEg5CiKH6FBlmfl1nRcaavO3fI+Nghe0ce0VsFgh0 jFrUL1Hc/yj14SVrazbmkz/bbvL21UuArd92agbyeFbCq8GS35OjxFVXY6+gWWLyB4V6+pv/Pv jvlwzz3CQwyi9Gy6m5ti7WXkc2nBY1tsRRnTP+MlJFGEOBBq8YmBpiwDBNQSoET0K9Q036fSG1 Ctg= Message-ID: Date: Wed, 8 Mar 2023 11:28:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [Patch, fortran] PR37336 finalization Content-Language: en-US To: Thomas Koenig , Richard Biener CC: Paul Richard Thomas , Steve Kargl , "fortran@gcc.gnu.org" References: <582085ac-0d07-a516-732d-e82e0a4e01c9@netcologne.de> From: Tobias Burnus In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP 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: On 08.03.23 09:55, Thomas Koenig via Fortran wrote: > And now comes the problem - no Fortran maintanier has access to SPEC > 2017, as far as I know. The curse of closed-source benchmarks... We (as in Codesourcery) have access to the older SPEC Accel and the newer SPEC HPC (but not to SPEC CPU =E2=80=93 which SUSE has access to). In= SPEC HPC, I did not see any 'final ::'. For code using finalization: In the popular non-free electronic-structure code VASP (used to calculate molecules), I see a single 'final::'. A similar less popular program is Octopus, https://gitlab.com/octopus-code/octopus That would be a real-world code that uses 45 times 'final', 80 times 'type, extends(...)' and a thousand times 'class(...)'. Thus, that could be a real-world testcase. (I have not built it for a longer time.* It includes a regression-test suite.) Tobias (*) Octopus: I haven't build it for a longer time, but I think it should build without too much trouble. That was the program the group co-developed where I did my master thesis. / If you want to see what it does: https://en.wikipedia.org/wiki/Octopus_(software) or https://octopus-code.org/ ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955