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 <[email protected]>: https://gcc.gnu.org/g:bba999a7f330cdf093eb20cace8d562237caeb88 commit r16-6568-gbba999a7f330cdf093eb20cace8d562237caeb88 Author: Steve Kargl <[email protected]> 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.
