From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by sourceware.org (Postfix) with ESMTPS id B48B23858C66; Mon, 8 May 2023 19:03:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B48B23858C66 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=1683572589; i=anlauf@gmx.de; bh=+dTdUjSy4mtcljNBnXl95wUyYjBZ0JfvKu4yC+MnrOY=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=A8YQLADTRZoEcDkJ3+pxepRdr655B/VdtQrd50/m22WhF40dRGERnwIjJMcwjIoqR wrHOGygim1Fwv7k2n21F77vpFhIht/iqoPNsBS2K2aO8iv4bZ8XtvZC/L3IupD6aX/ S2dv1TcdybnGq42quqnzII2NGkySASQiXADnVANv+NiNayMQpN4j23o8oMF2RLwaSz VRl61jmmbHbEJqSJ/7YaXwsokeRmv/ghDyXjTakGurUZX/FsTXidaRasrfmuy4uAkO ts1ZR/UCeAO88TGun386BR0EgUGDAMTDyqBLX0NJKG+H+HS44XihM+l4Pp1gZlOkIa xTxDxYRM1pWuQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.29] ([93.207.92.79]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MxlzC-1q8prn0cLm-00zHAc; Mon, 08 May 2023 21:03:09 +0200 Message-ID: <5b8f724b-1a65-279b-cdc3-85e658d6ab2c@gmx.de> Date: Mon, 8 May 2023 21:03:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [patch, fortran] PR109662 Namelist input with comma after name accepted To: sgk@troutmask.apl.washington.edu Cc: Jerry D , gfortran , gcc-patches Newsgroups: gmane.comp.gcc.patches,gmane.comp.gcc.fortran References: <508ee742-97fa-9f61-ab65-98d3fa8e7dca@gmx.de> <658d646d-d699-0d7c-06ce-396af393008f@gmx.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:0Fk9ZBhGgO4McdAbmNeXui8s4f8joIJQy0wvBVO74rUTSFEB18V +bhkagxUqXrIUUUoqpi/+2DJfgmE9RXNINoOe7t62TeIyokQocEn1MDT/vSIstyDNl2Bm5L 9titooMA6AZgxxnQqxF1YGcDUksSE5jTPxaWYv2ZvAEfABGcSmT9j7JwKOBTL8Z+fWAFiG0 LKzIVV0ODzdyB4O/pgGhw== UI-OutboundReport: notjunk:1;M01:P0:4HiA5v0gjTM=;/K9cvqAG4i4utNqZgT/G11SH1u2 ahHiEA3UUL+vCmhVmD9JJr9N6ViH+psqbIBvhnIipuciP1ybO7NxYDTShIAb9b5IYYGVwjGfA Xvt+6LJANv7wBkzi5VXJg9VKsZzTu8M/rxsEfqWXes9bGi5u9CTuNs2hywVl/SxbpTiKTa4le qdbVTcBILZmG2/tU+U6CKYF2j72EFTL8ORrhtc71cyTzRyMZ3eTmDpGyNMDVdb9py84ae1WR6 Cu03DDJOU26hhZaRL4FGo1ggHlkeRB/hAnd8RbJ7BVSFSZL6krxNYUfr6hVCT9oKgD2fIyszh a14EbkpMkPt2stlSwi6DYxiWDjudrYfmwCZSybuqIWxJMxhZe5nE6yRbJuH4QMLVEu4mj1jtF kVPghNZaL5OEOcbwuIuDNC1ij6xL/d60zvNZFt6AN+RpDsZRj6Bwpb0MIROo9/S+RyrU3Pa/8 uQFxwpZ1BhU+2c2iLdDdOqHgZcGsGbWC6Ju5ELg+vpRffD/Bf5NVl0Hks+PjosCfiH7A/6pAt Pa18J/88NJ8X9SOGzVCirqy0dTnmfqOGD9eBy5beBWvZNj8yFewb1l3NyXzYk+1R4i6akdFw0 8yycLxcx2/MUpS+tYU1YqBlLWRRI0lmjJyuJIKGd0qcF8XK6pft+w8xN5Ql70FWhTU+IIQBsK 63na/EN2IV7zG2Zyh+NZxXnM6nygq6EdguizYogRRMZZYOEMKtIuxJcOnxigo4omHCix5Xq/N RwogLGxSd/+pq5TF+HuklORjcfJDbXkdxvNjZicJEn7qwAZpo5FjG4Hn6hDcrSCnxFAH7Ore1 exdH6pXa+ZXOwTtmUxd3KC3/fw+LJ1NVXp7wnPefnXmieibB6gOyhnXeMQiqBR3DA/0QYykeT xLnnZ1FJHoWShHwDjwk1exQxa0vK1DO5iGN1N9hXsDSmFQ1/6NCmD+fqlxqTj91sfoRTIOn8R iHFaIJQmZw2kpCjGlJWvB4scozM= X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: Steve, On 5/8/23 02:13, Steve Kargl via Gcc-patches wrote: > Harald, > Thanks for keeping us honest. I didn't check what other > separators might cause a problem. > > After 2 decades of working on gfortran, I've come to conclusion > that -std=3Df2018 should be the default. When f2023 is ratified, > the default becomes -std=3Df2023. All GNU fortran extension > should be behind an option, and we should be aggressive > eliminating extensions. > > Yes, this means that 'real*4' and similar would require > a -fallow-nonstandard-declaration option. > please don't let us get off-topic. The issue behind the PR was F2018: 13.11.3.1, Namelist input, which has Input for a namelist input statement consists of (1) optional blanks and namelist comments, (2) the character & followed immediately by the namelist-group-name as specified in the NAMELIST statement, (3) one or more blanks, where "blanks" was to be interpreted. Separators are discussed separately. Jerry has resolved "," and ";". Good. There is another weird issue that is visible in the testcase output in my previous mail for "!". Reducing that further now suggests that the EOF condition of the namelist read of the single line affects the namelist read of the next multi-line read. So this one is actually a different bug, likely libgfortran's internal state.