[all-commits] [llvm/llvm-project] 940871: [flang] Enforce limit on rank + corank

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 10 09:11:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 940871dd289c9f92ee32d899d58538c57c76c16d
      https://github.com/llvm/llvm-project/commit/940871dd289c9f92ee32d899d58538c57c76c16d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-10 (Tue, 10 May 2022)

  Changed paths:
    M flang/include/flang/Evaluate/real.h
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/maxrank.f90

  Log Message:
  -----------
  [flang] Enforce limit on rank + corank

Fortran 2018 requires that a compiler allow objects whose rank + corank
is 15, and that's our maximum; detect and diagnose violations.

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




More information about the All-commits mailing list