Re: [PATCH] fortran: error recovery on duplicate declaration of class variable [PR95710]

2023-09-22 Thread Bernhard Reutner-Fischer via Fortran
On 22 September 2023 21:16:35 CEST, Harald Anlauf via Fortran wrote: >Dear all, > >the attached simple and obvious patch fixes several NULL pointer >dereferences that are encountered for a duplicate declaration of >a class variable. Another one from Gerhard's torture tests... Obviously ok. than

[PATCH] fortran: error recovery on duplicate declaration of class variable [PR95710]

2023-09-22 Thread Harald Anlauf via Fortran
Dear all, the attached simple and obvious patch fixes several NULL pointer dereferences that are encountered for a duplicate declaration of a class variable. Another one from Gerhard's torture tests... Regtested on x86_64-pc-linux-gnu. I intend to commit within 24h unless there are comments. T