Pushed as r17-6548. Thanks, Jerry.

Paul

On Fri, 20 Nov 2026 at 17:38, Jerry D <[email protected]> wrote:
>
> On 11/20/26 3:19 AM, Paul Richard Thomas wrote:
> > Hello All,
> >
> > This is the first of three patches for PDT bugs found by Jerry,
> > assisted by Claude.
> >
> > This patch is relatively trivial. The error arises because
> > resolve_component attempts to pass real PDT template components, with
> > integer initializers, through gfc_check_assign_symbol. Since the
> > component has kind=0, the error in the title is generated. Since the
> > template is never used in anger, the fix is to prevent the call to
> > gfc_check_assign_symbol.
> >
> > The chunks in decl.cc streamline the handling of PDT component
> > initializers. In particular, the typespec of the component is not
> > donated to the initializer unless its type is unknown or of the same
> > type as the component.
> >
> > Regression tests on FC45/x86_64. OK for mainline?
> >
> > Cheers
> >
> > Paul
>
> This one looks good to go.
>
> Thanks,
>
> Jerry

Reply via email to