[Patch, fortran] PR104750: Parameterized derived type extension from outside the host module
Mikael Morin
morin-mikael@orange.fr
Wed Sep 2 15:14:54 GMT 2026
Le 02/09/2026 à 12:36, Paul Richard Thomas a écrit :
> From dfe5dc0c689c316413090e2bbdecf8a32b508778 Mon Sep 17 00:00:00 2001
> From: Paul Thomas <pault@gcc.gnu.org>
> Date: Wed, 2 Sep 2026 11:12:23 +0100
> Subject: [PATCH] Fortran: Fix ex-module inherited PDT parameter namespaces
> [PR104750]
>
> Inherited PDT type specification parameters currently become unavailable
> after USE association.
>
> This patch delays reconstruction of PDT parameter namespaces until module
> loading is complete. The named symtree entries for PDT parameters are
> restored, and inherited formal parameters are now correctly skipped when
> locating parameters declared in an extended PDT.
>
> The original version of the patch was assisted by ChatGPT. However,
> the submitter has revamped it such that the LLM input is minimal. I
> can add the attribution, if desired.
>
> Regression tested on FC44/x86_64 - OK for mainline and later for 16-branch?
>
> Cheers
>
> Paul
>
Hello Paul, the patch appears mangled here.
Can you resend it as attachment?
More information about the Fortran
mailing list