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

kkwli via All-commits all-commits at lists.llvm.org
Thu Jan 19 07:55:29 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f13d6001324e9c9653d8568c1d86e182b217e272
  Author: Kelvin Li <kli at ca.ibm.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  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 non-zero rank

This patch is to diagnose the case when a type bound procedure is passed as an actual procedure argument.

   call sub0(t%t3%t2%t%info1)

Fix: https://github.com/llvm/llvm-project/issues/55826

Committed on behalf of DanielCChen

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

More information about the All-commits mailing list