[all-commits] [llvm/llvm-project] 73eb5d: [flang] Catch out-of-range constant arguments to C...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 27 17:25:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73eb5dbd5f0b039332f3399b26a7415a45821590
      https://github.com/llvm/llvm-project/commit/73eb5dbd5f0b039332f3399b26a7415a45821590
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M flang/lib/Evaluate/fold-character.cpp
    M flang/test/Evaluate/errors01.f90
    M flang/test/Evaluate/folding05.f90

  Log Message:
  -----------
  [flang] Catch out-of-range constant arguments to CHAR/ACHAR

When folding the intrinsic functions CHAR and ACHAR, emit an
error message if the argument is out of the valid range for the
kind of the result.

Differential Revision: https://reviews.llvm.org/D142754




More information about the All-commits mailing list