[all-commits] [llvm/llvm-project] dd7d5b: [flang] Modify an IO format error message

vdonaldson via All-commits all-commits at lists.llvm.org
Tue Jan 4 14:27:55 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd7d5bc5bd46808802aa586a7280a5441acbe923
  Author: V Donaldson <vdonaldson at nvidia.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M flang/include/flang/Common/format.h
    M flang/test/Semantics/io07.f90
    M flang/test/Semantics/io08.f90

  Log Message:
  [flang] Modify an IO format error message

F18 constraint C1308 is:

  For the G edit descriptor, e shall not be specified if w is zero.

For an edit descriptor such as 'G0.2E4', change the error message from:

  error: Unexpected 'e' in 'G0' edit descriptor


  error: A 'G0' edit descriptor must not have an 'e' value

More information about the All-commits mailing list