[all-commits] [llvm/llvm-project] f472c0: [flang] Handle USE association in parse tree rewri...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:26:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f472c099be07593be2a1ea9f5c61793d348a4f52
      https://github.com/llvm/llvm-project/commit/f472c099be07593be2a1ea9f5c61793d348a4f52
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/rewrite-parse-tree.cpp

  Log Message:
  -----------
  [flang] Handle USE association in parse tree rewriting

f18 was treating "f() = 1" as a statement function definition
if it could be viewed as being in the specification part and
"f" was a USE-associated function returning a data pointer.
(The non-USE-associated case is fine.)  Fix to allow for "f"
to be USE associated.

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




More information about the All-commits mailing list