[all-commits] [llvm/llvm-project] faa133: [flang] Check constraint C834 on INTENT(OUT) assum...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Dec 4 10:39:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faa1338ccdc5dc980dcf241eb380c27e24d3865a
      https://github.com/llvm/llvm-project/commit/faa1338ccdc5dc980dcf241eb380c27e24d3865a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M flang/include/flang/Semantics/type.h
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/call29.f90

  Log Message:
  -----------
  [flang] Check constraint C834 on INTENT(OUT) assumed-size dummy arrays

An assumed-size dummy array argument with INTENT(OUT) can't have a type
that might require any runtime (re)initialization, since the size of the
array is not known.

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




More information about the All-commits mailing list