[all-commits] [llvm/llvm-project] aea94c: [flang] Adjust checks of ICHAR/IACHAR argument len...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Nov 30 11:15:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aea94c90b39b2694f3a1b2f23f06f005c9d3459b
      https://github.com/llvm/llvm-project/commit/aea94c90b39b2694f3a1b2f23f06f005c9d3459b
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    A flang/test/Semantics/ichar01.f90

  Log Message:
  -----------
  [flang] Adjust checks of ICHAR/IACHAR argument length (#72312)

The compiler will now emit an error for length == 0 and an
off-by-default portability warning for length > 1. Previously, the
message was an unconditional warning for length /= 1.




More information about the All-commits mailing list