[all-commits] [llvm/llvm-project] c6d8aa: [flang] Add semantic check for multiple part-ref w...

PeixinQiao via All-commits all-commits at lists.llvm.org
Mon Jun 13 19:18:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6d8aa27c5fe6aca56c3f95ee61c35265d4fe6b9
      https://github.com/llvm/llvm-project/commit/c6d8aa27c5fe6aca56c3f95ee61c35265d4fe6b9
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/expr-errors04.f90

  Log Message:
  -----------
  [flang] Add semantic check for multiple part-ref with nonzero rank for TBP

As Fortran 2018 C919, there shall not be more than one part-ref with
nonzero rank. Support this semantic check for type-bound procedure to
address the issue https://github.com/llvm/llvm-project/issues/55811.

Reviewed By: klausler

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




More information about the All-commits mailing list