[all-commits] [llvm/llvm-project] 882fa2: [flang] Better error messages & more cases caught ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Oct 30 17:12:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 882fa241f1d242e7c3e4efcde0839fa2c01c1ddc
      https://github.com/llvm/llvm-project/commit/882fa241f1d242e7c3e4efcde0839fa2c01c1ddc
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

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

  Log Message:
  -----------
  [flang] Better error messages & more cases caught for bad forward refs

Subclause 10.1.12 in F'2018 prohibits forward references from
a specification expression to an object declared later in the
same specification part.  Catch this error better and emit
specific error messages about the violation.

Differential revision: https://reviews.llvm.org/D90492




More information about the All-commits mailing list