This patch fixes PR fortran/104750, in which inherited KIND/LEN type parameters 
of parameterized derived types become unavailable after a USE association.
The patch 1) delays reconstruction of PDT parameter namespaces until module 
loading is complete, 2) restores named symtree entries for PDT parameters, and 
3) correctly skips inherited formal parameters when locating parameters 
declared by an extended PDT. A newly added test verifies the desired behavior.
The patch was tested on x86_64-pc-linux-gnu with the gfortran test suite. No 
regressions found.
PR fortran/104750


Attachment: pr104750-pdt-namespace-fix.patch
Description: pr104750-pdt-namespace-fix.patch

Reply via email to