[all-commits] [llvm/llvm-project] 882d5f: [flang] Ensure a characterized ENTRY in a PURE sub...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Feb 14 15:35:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 882d5f14adabdf642510cfe8e4a002833f585dda
      https://github.com/llvm/llvm-project/commit/882d5f14adabdf642510cfe8e4a002833f585dda
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M flang/lib/Evaluate/characteristics.cpp

  Log Message:
  -----------
  [flang] Ensure a characterized ENTRY in a PURE subprogram is also marked PURE

ENTRY point symbols aren't marked PURE in the symbol table, but must
instead inherit the attribute from their containing subprograms.
There's a predicate in semantics that does this, but it wasn't being
used in the context of actual procedure argument characterization.

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




More information about the All-commits mailing list