[all-commits] [llvm/llvm-project] 225f18: [Flang] Handle %VAL arguments correctly (#157186)

Carlos Seo via All-commits all-commits at lists.llvm.org
Tue Sep 9 06:50:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 225f181d75b0783a4a20dc101d87fc62070d0280
      https://github.com/llvm/llvm-project/commit/225f181d75b0783a4a20dc101d87fc62070d0280
  Author: Carlos Seo <carlos.seo at linaro.org>
  Date:   2025-09-09 (Tue, 09 Sep 2025)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/percent-val-actual-argument.f90
    A flang/test/Lower/percent-val-value-argument.f90

  Log Message:
  -----------
  [Flang] Handle %VAL arguments correctly (#157186)

Internal procedures expect reference parameters. However, when %VAL is
used, the argument should be passed by value. Forward the loaded address
and skip conversion to avoid a type conversion error.

Fixes #118239



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