Re: [Patch, fortran] PR104048 - ICE with recursively defined derived type

Harald Anlauf <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Hi Paul,

Am 12.08.26 um 10:34 PM schrieb Paul Richard Thomas:
> Hello All,
> 
> The attached patch builds on the wrapper infrastructure wielded to fix
> PR121628. The extension to include scalars is relatively trivial, once
> I identified the elem_type required.
> 
> This is definitely not LLM assisted. In fact Claude persistently tried
> to dissuade me and, instead, to use the patch in comment #7 of the PR
> (May 2024 :-( )! This one, however, once the infrastructure is in
> place is much more elegant.
> 
> The CLASS variant already worked but I have included a testcase to
> make sure that it stays that way.
> 
> The patch passes regression testing on FC44/x86_64. Ok for mainline
> and 16-branch?

yes, think looks all good.

Thanks for the patch!

Harald

> Regards
> 
> Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.