https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82375

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|PDT error                   |PDT components in PDT
                   |                            |declarations fail to
                   |                            |compile

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Dear Ian and Dominique,

I can confirm both the original bug and warn you that recursive allocatable
components are even more spectacularly bad, causing a segmentation fault in
resolve.c.

If you give 'real_kind' a default value, a truly strange error results:


   type (link(real_kind=wp)), pointer :: root, current
                           1
Error: Pointer assignment target is neither TARGET nor POINTER at (1)

***sigh***

Compilation also fails when the PDT component is not the same type.

This is such a significant problem that it has moved to the top of my TODO
list. Many thanks once again for reporting it.

Paul

Reply via email to