Re: [PATCH] Fortran: fix namelist read for input with comments [PR125095]
Harald Anlauf <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
Hi Jerry! Am 05.05.26 um 11:57 PM schrieb Jerry D: > 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. Thanks for the review! Pushed as r17-367-g202ca69360af7f to mainline so far. Harald > Much appreciated, > > Jerry >