[all-commits] [llvm/llvm-project] bd9466: [flang] Handle mismatches of procedure type args

Leandro Lupori via All-commits all-commits at lists.llvm.org
Tue Mar 14 05:53:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd94662697ebfaf761a389a3a59677fc0bf38b31
      https://github.com/llvm/llvm-project/commit/bd94662697ebfaf761a389a3a59677fc0bf38b31
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    A flang/test/Lower/implicit-call-mismatch.f90

  Log Message:
  -----------
  [flang] Handle mismatches of procedure type args

Fortran allows type mismatch when passing actual arguments to
procedures and most cases were already being handled correctly by
Flang. However, conversion of data types to and from procedures and
conversion between procedures and char procedures were not always
handled properly. The missing cases were added and these
conversions are supported now.

Fixes #60550

Reviewed By: jeanPerier

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




More information about the All-commits mailing list