[all-commits] [llvm/llvm-project] 5de49a: [flang] Abstract interfaces can't be designated or...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Oct 29 18:10:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5de49af54036f1427ae8669b6482a198cbfeff2a
      https://github.com/llvm/llvm-project/commit/5de49af54036f1427ae8669b6482a198cbfeff2a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-29 (Sat, 29 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/abstract02.f90
    M flang/test/Semantics/resolve20.f90

  Log Message:
  -----------
  [flang] Abstract interfaces can't be designated or referenced

Broaden the check for misuse of ABSTRACT procedure interfaces by
doing it in expression analysis rather than name resolution so that
cases like pointer assignment targets and actual arguments are also
diagnosed as errors.

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




More information about the All-commits mailing list