[all-commits] [llvm/llvm-project] f08b55: [flang][runtime] Emit leading spaces in NAMELIST o...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jan 15 10:03:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f08b55d1a62863f27df51921c1c87125e77a3298
      https://github.com/llvm/llvm-project/commit/f08b55d1a62863f27df51921c1c87125e77a3298
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M flang/runtime/namelist.cpp
    M flang/unittests/Runtime/Namelist.cpp

  Log Message:
  -----------
  [flang][runtime] Emit leading spaces in NAMELIST output (#76846)

As NAMELIST output is a variant of list-directed output, its editing
must produce leading spaces on (most) output records to effect carriage
control. These spaces are required by the language standard and
implemented by nearly all other Fortran compilers (except GNU).

Fixes https://github.com/llvm/llvm-project/issues/76798.




More information about the All-commits mailing list