[Patch, fortran] PR110012 - [PDT] ICE involving parametrized polymorphic variable

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Dec 8 12:00:47 GMT 2025


Hi All,

The attached is a straightforward fix for a problem with PDT class
components of a non parameterised derived type. The ICE is fixed by finding
the PDT instance and building the class type just before the ICE occurred
(gcc_assert (vtab);).

Note that, in common with a number of other PDT testcases, the allocation
in line 22 of the submitted test loses memory (PR121972). I will be turning
to this soon.

Regtests on FC43/x86_64. OK for mainline?

Regards

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20251208/1ef7e022/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 501 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20251208/1ef7e022/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 3752 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20251208/1ef7e022/attachment.bin>


More information about the Fortran mailing list