[PATCH] Fortran: checking of pointer targets for structure constructors [PR56423]

Harald Anlauf anlauf@gmx.de
Mon Feb 10 19:47:13 GMT 2025


Hi Thomas,

Am 10.02.25 um 20:26 schrieb Thomas Koenig:
> Hello Harld,
>
>> the attached patch enhances the checking of pointer targets in structure
>> constructors to catch the following invalid cases (before we ICE :)
>> - different rank
>> - vector subscript of target
>>
>> Regtested on x86_64-pc-linux-gnu.  OK for mainline?
>
> OK (and bordering on obvious).
>
> Thanks for the patch!
>
> Best regards
>
>      Thomas
>
>

Pushed as r15-7459-g118a6c3247bb30 .

Thanks for the review!

Harald



More information about the Fortran mailing list