[all-commits] [llvm/llvm-project] a8654b: [flang] More precise CONTIGUOUS checking

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 22 12:03:09 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8654b44579d35ffaed0634eaf76cbceae6748f1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

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

  Log Message:
  [flang] More precise CONTIGUOUS checking

A recent fix to avoid bogus errors with the CONTIGUOUS attribute caused
declaration checking to miss errors with applications of CONTIGUOUS to
names that are not variables.  Restore those error messages, and
add tests to ensure that the original problem remains fixed while
the recent regressions have been resolved.

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

More information about the All-commits mailing list