[all-commits] [llvm/llvm-project] 4c6b60: [flang] Extension: allow char string edit descript...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed May 28 13:58:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c6b60a639a674f22f5b3aeac0f05ad5aacc552a
      https://github.com/llvm/llvm-project/commit/4c6b60a639a674f22f5b3aeac0f05ad5aacc552a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/format-implementation.h
    M flang-rt/unittests/Runtime/NumericalFormatTest.cpp
    M flang/docs/Extensions.md
    M flang/include/flang/Common/format.h
    M flang/test/Semantics/io09.f90

  Log Message:
  -----------
  [flang] Extension: allow char string edit descriptors in input formats (#140624)

FORMAT("J=",I3) is accepted by a few other Fortran compilers as a valid
format for input as well as for output. The character string edit
descriptor "J=" is interpreted as if it had been 2X on input, causing
two characters to be skipped over. The skipped characters don't have to
match the characters in the literal string. An optional warning is
emitted under control of the -pedantic option.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list