[flang-commits] [PATCH] D151124: [flang] More precise CONTIGUOUS checking

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon May 22 10:38:27 PDT 2023


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D151124

Files:
  flang/lib/Semantics/check-declarations.cpp
  flang/test/Semantics/call07.f90
  flang/test/Semantics/contiguous01.f90
  flang/test/Semantics/resolve90.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151124.524386.patch
Type: text/x-patch
Size: 6053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230522/6ef79e47/attachment-0001.bin>


More information about the flang-commits mailing list