]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: namelist-object-name renaming.
authorSteve Kargl <kargl@gcc.gnu.org>
Wed, 14 Feb 2024 22:40:16 +0000 (14:40 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 14 Feb 2024 22:42:19 +0000 (14:42 -0800)
commit8221201cc59870579b9dc451b173f94b8d8b0993
tree1ab6592592bc2fef16217a9218fe0438b9a991f7
parent430c772be3382134886db33133ed466c02efc71c
Fortran: namelist-object-name renaming.

PR fortran/105847

gcc/fortran/ChangeLog:

* trans-io.cc (transfer_namelist_element): When building the
namelist object name, if the use rename attribute is set, use
the local name specified in the use statement.

gcc/testsuite/ChangeLog:

* gfortran.dg/pr105847.f90: New test.
gcc/fortran/trans-io.cc
gcc/testsuite/gfortran.dg/pr105847.f90 [new file with mode: 0644]