]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix namelist with use association and renaming
authorSteve Kargl <kargl@gcc.gnu.org>
Thu, 8 Jan 2026 05:09:50 +0000 (21:09 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 8 Jan 2026 05:21:51 +0000 (21:21 -0800)
commitbba999a7f330cdf093eb20cace8d562237caeb88
tree88c8a02c7b77cd85288c7a749009b39fa457ecea
parentfd8686b35bee8d260a3557082abedac33a98d48a
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.
gcc/fortran/trans-io.cc