[all-commits] [llvm/llvm-project] 1220ed: [flang] module namelist IO with renaming (#75264)

vdonaldson via All-commits all-commits at lists.llvm.org
Wed Dec 13 10:26:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1220edc6e00718181131e1ce57f7225595f39dea
      https://github.com/llvm/llvm-project/commit/1220edc6e00718181131e1ce57f7225595f39dea
  Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M flang/lib/Lower/IO.cpp
    M flang/test/Lower/namelist.f90

  Log Message:
  -----------
  [flang] module namelist IO with renaming (#75264)

The test:
```
  module mmm
    real rrr
    namelist /aaa/ rrr
  end

    use mmm, bbb => aaa
    rrr = 3.
    write(*,bbb)
  end
```
Should output:  &AAA RRR= 3./

not:            &BBB RRR= 3./




More information about the All-commits mailing list