Re: [PATCH] Fortran: fix namelist read for input with comments [PR125095]
Jerry D <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
On 5/5/26 1:17 PM, Harald Anlauf wrote: > Dear all, > > namelist input of arrays got confused when there were comments > after value separators. The obvious fix is to cleanly skip the > comments and eat subsequent whitespace. The attached conservative > patch fixes this for all basic types. > > Tested on x86_64-pc-linux-gnu for gfortran.dg/namelist*. > > OK for mainline / backports? > > Thanks, > Harald > Looks good, mainline and backports. Much appreciated, Jerry