Re: [PATCH] PR123012 Silent acceptance of unquoted character items in namelist input

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On 1/12/26 7:56 PM, Jerry D wrote:
> This patch was simple and obvious. I decided to add additional comments to make 
> things clearer. This addresses Harald's discovery (new test case).
> 
> I will commit tomorrow if no objections.
> 
> Regression tested on x86_64. New test case provided.
> 
> Regards,
> 
> Jerry
> 

Committed:

commit r16-6748-g17582084fad3a0fbf72a83524a4100d2eb802107
Author: Jerry DeLisle <[email protected]>
Date:   Mon Jan 12 18:45:05 2026 -0800

     Fortran: Detect missing quote in namelist read.

             PR libfortran/123012

     libgfortran/ChangeLog:

             * io/list_read.c (read_character): Add new check after
             get_string and provide better comments.

     gcc/testsuite/ChangeLog:

             * gfortran.dg/namelist_101.f90: New test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.