[all-commits] [llvm/llvm-project] bbad98: [flang] Address regression (calls to assumed-lengt...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed May 25 12:00:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbad981dab49851ab0b94fbb27925fe1c80f888b
      https://github.com/llvm/llvm-project/commit/bbad981dab49851ab0b94fbb27925fe1c80f888b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Evaluate/rewrite01.f90
    M flang/test/Lower/dummy-procedure-character.f90
    M flang/test/Lower/host-associated.f90
    M flang/test/Semantics/call01.f90

  Log Message:
  -----------
  [flang] Address regression (calls to assumed-length character function dummy procedures)

A recent fix beefed up semantics checking to catch the case of a call
to an external assumed-length character function; this check has false
positives in the case of an assumed-length character function that is
a dummy procedure.  These do have a length that is passed in extra
compiler-created arguments.  This patch refines the check and undoes some
changes to tests.

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




More information about the All-commits mailing list