[all-commits] [llvm/llvm-project] de3efd: [flang] Lower character result of bind(c) function...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Sat Sep 24 00:00:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de3efd1b4c8e120c37b24e7cc264b5a117641bb1
      https://github.com/llvm/llvm-project/commit/de3efd1b4c8e120c37b24e7cc264b5a117641bb1
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-09-24 (Sat, 24 Sep 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/test/Lower/call.f90

  Log Message:
  -----------
  [flang] Lower character result of bind(c) function by value

BIND(C) Function returning character must return it by value and
not as hidden argument like done currently. This patch update the
code to return it by value for both use cases.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list