[all-commits] [llvm/llvm-project] 9652e9: [flang] Catch non-CONTIGUOUS assumed-rank with ASY...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Nov 13 14:42:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9652e9b7417e249cd932badb808c9806d19601fe
      https://github.com/llvm/llvm-project/commit/9652e9b7417e249cd932badb808c9806d19601fe
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call03.f90

  Log Message:
  -----------
  [flang] Catch non-CONTIGUOUS assumed-rank with ASYNCHRONOUS/VOLATILE … (#71243)

…forwarded to CONTIGUOUS dummy

No object with the ASYNCHRONOUS or VOLATILE attribute can go through the
copy-in/copy-out protocol necessary for argument association with a
contiguous dummy array argument. The check for this constraint missed
the case of an assumed-rank array without an explicit CONTIGUOUS
attribute being forwarded on to a CONTIGUOUS dummy argument.




More information about the All-commits mailing list