[PATCH] Fortran: improve error recovery for EXTENDS_TYPE_OF() [PR106121]

Tobias Burnus tobias@codesourcery.com
Wed Jun 29 15:00:44 GMT 2022


On 28.06.22 22:36, Harald Anlauf via Gcc-patches wrote:

> the simplification of EXTENDS_TYPE_OF() did not handle the
> situation that one of its arguments were a CLASS variable
> that was improperly declared.  NULL pointer dereference.
>
> The fix is obvious.  Steve found a similar solution, which
> is why I added him as co-author.
>
> Regtested on x86_64-pc-linux-gnu.

LGTM – and I do note that Steven also okayed it in the PR.

Thanks,

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955


More information about the Fortran mailing list