[all-commits] [llvm/llvm-project] 9b3818: [flang] Downgrade specific format error to warning...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 30 12:38:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b3818ecae5a5c47eb6a8dd44cf7e1c3666a0f02
      https://github.com/llvm/llvm-project/commit/9b3818ecae5a5c47eb6a8dd44cf7e1c3666a0f02
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

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

  Log Message:
  -----------
  [flang] Downgrade specific format error to warning (#110314)

When a format is missing a comma between two edit descriptors, the
previous token was an integer, and the following item is a repeatable
edit descriptor or a parenthesized group, we emit an error, since it
can't be known where the digits of the integer should be split. But in
the case of a single digit, the situation is not ambiguous, and the
message should be a warning.

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



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