[all-commits] [llvm/llvm-project] b8513e: [flang] Better handling of weird pointer assignmen...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Jan 8 13:12:22 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8513e439351b11a90b8aa69311cf57572405826
https://github.com/llvm/llvm-project/commit/b8513e439351b11a90b8aa69311cf57572405826
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M flang/lib/Semantics/pointer-assignment.cpp
A flang/test/Semantics/assign16.f90
Log Message:
-----------
[flang] Better handling of weird pointer assignment case (#120628)
F'2023 C1017 permits the assignment of an unlimited polymorphic data
target to a monomorphic LHS pointer when the LHS pointer has a sequence
derived type (BIND(C) or SEQUENCE attribute). We allowed for this in
pointer assignments that don't have a function reference as their RHS.
Extend this support to function references, and also ensure that rank
compatibility is still checked.
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