[Bug fortran/123321] Namelist input of variable accessed by use association with renaming fails
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 19:54:02 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123321
--- Comment #17 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Dec 30, 2025 at 07:26:50PM +0000, jvdelisle at gcc dot gnu.org wrote:
>
> --- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
> Without the patch applied subroutine a passes, subroutine b fails with the
> runtime error.
This is expected.
> With the patch applied, both subroutine a & b fail with the runtime error. (I
> commented out the contents of subroutine a to check b by itself)
This is unexpected as both should pass (unless I fat-fingered something).
> With the patch, I also see the namelist_use_only.f90 failure. I think I will
> wait until you are able to go further on your system Steve.
Yes, namelist_use_only.f90 fails with the patch as it
is invalid code.
I'll work on the patch when I can again bootstrap gcc on FreeBSD.
More information about the Gcc-bugs
mailing list