[all-commits] [llvm/llvm-project] 86ce60: [flang] Fix CONTIGUOUS attribute checking

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Mar 28 04:44:20 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86ce609d3f420e55fc2c282560acf8f71deaddbf
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/call07.f90

  Log Message:
  [flang] Fix CONTIGUOUS attribute checking

A CONTIGUOUS entity must be an array pointer, assumed-shape dummy array,
or assumed-rank dummy argument (C752, C830).  As currently implemented,
f18 only implements the array requirement if the entity is a pointer.
Combine these checks and start issuing citations to scalars.

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

More information about the All-commits mailing list