[all-commits] [llvm/llvm-project] f45b41: [flang] Defer stmt function body analysis until sp...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 29 12:34:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f45b41348ba49c4a76baab1e3e302ef8e2bb992b
      https://github.com/llvm/llvm-project/commit/f45b41348ba49c4a76baab1e3e302ef8e2bb992b
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  -----------
  [flang] Defer stmt function body analysis until specification part complete

Expression analysis was being invoked on the bodies of statement functions
as they were being encountered during name resolution.  This led to failures
on some FCVS tests in cases where those expressions contained implicitly
typed objects.  Defer the analysis of statemet function bodies to the end
of the specification part, at which time the symbols of the enclosing scope
will have been typed.

Reviewed By: tskeith

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




More information about the All-commits mailing list