[all-commits] [llvm/llvm-project] 70cbed: [flang] Catch errors with INTENT(OUT) assumed rank...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Oct 7 13:18:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70cbedcd6edf00fc11aa7685f41f8ec29ce84598
https://github.com/llvm/llvm-project/commit/70cbedcd6edf00fc11aa7685f41f8ec29ce84598
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2024-10-07 (Mon, 07 Oct 2024)
Changed paths:
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/tools.cpp
A flang/test/Semantics/call42.f90
Log Message:
-----------
[flang] Catch errors with INTENT(OUT) assumed rank dummy arguments (#111204)
Emit an error when an actual argument with potentially unknown size
(assumed size, or non-pointer non-allocatable assumed rank) with any
risk of needing initialization, finalization, or destruction is
associated with an INTENT(OUT) dummy argument with assumed rank.
Emit an optional portability warning for cases where the type is known
to be safe from needing initialization, finalization, or destruction,
since it's not conforming and might elicit an error from other
compilers.
Fixes https://github.com/llvm/llvm-project/issues/111120.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list