[Bug fortran/123321] Namelist input of variable accessed by use association with renaming fails
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 8 05:26:53 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123321
--- Comment #26 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:bba999a7f330cdf093eb20cace8d562237caeb88
commit r16-6568-gbba999a7f330cdf093eb20cace8d562237caeb88
Author: Steve Kargl <kargl@gcc.gnu.org>
Date: Wed Jan 7 21:09:50 2026 -0800
Fortran: Fix namelist with use association and renaming
The previous commit for this PR fails on FreeBSD. The fix here
is the original provided by the author. The test case remains
unchanged.
PR fortran/123321
gcc/fortran/ChangeLog:
* trans-io.cc (transfer_namelist_element): Adjust the
conditions determining when to use the local name or
the var name to build the object name.
More information about the Gcc-bugs
mailing list