[PATCH, libgfortran] PR119856 Part 2 Fix error handling for missing commas in format strings

Harald Anlauf anlauf@gmx.de
Sun Jun 1 20:48:21 GMT 2025


Hi Jerry,

On 5/31/25 19:38, Jerry D wrote:
> Hi all,
> 
> The attached patch fixes a latent issue where we were saving a parsed 
> and checked format string that had a missing comma. This resulted in the 
> correct error on the first use of the string, but a missed error on 
> subsequent uses of the string.
> 
> New test case provided.
> 
> Regression tested on x86_64
> 
> OK for trunk and eventual backport to 15?

both is OK.

Thanks for the patch!

Harald

> Regards,
> 
> Jerry

[Sidenote: this is a pure libgfortran test where AFAICT torture-testing
does not make much sense.  It is cheap, though.]



More information about the Fortran mailing list