[all-commits] [llvm/llvm-project] 10b0a0: [flang] Fold KIND= arguments in intrinsic function...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 31 10:53:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b0a07e11b6fc53f2af63b7da7256a3e509835a
      https://github.com/llvm/llvm-project/commit/10b0a07e11b6fc53f2af63b7da7256a3e509835a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    A flang/test/Evaluate/bug124618.f90

  Log Message:
  -----------
  [flang] Fold KIND= arguments in intrinsic function references (#124666)

KIND= arguments in e.g. ACHAR(..., KIND=...) intrinsic function
references must be compilation-time constant expressions. The compiler
was failing to evaluate those expressions if they were not actually
literaly constant values.

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



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