[all-commits] [llvm/llvm-project] a75840: [flang] Better C_LOC and C_ASSOCIATED in flang/module
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jan 21 10:43:37 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a75840a09c65582e3ec4eb1654bd17386b71397d
https://github.com/llvm/llvm-project/commit/a75840a09c65582e3ec4eb1654bd17386b71397d
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-01-21 (Thu, 21 Jan 2021)
Changed paths:
M flang/module/__fortran_builtins.f90
M flang/module/iso_c_binding.f90
Log Message:
-----------
[flang] Better C_LOC and C_ASSOCIATED in flang/module
The place-holding implementation of C_LOC just didn't work
when used with our more complete semantic checking, specifically
in the case of a polymorphic argument; convert it to an external
function with an implicit interface. C_ASSOCIATED needs to be
a generic interface with specific implementations for C_PTR and
C_FUNPTR.
Differential Revision: https://reviews.llvm.org/D94714
More information about the All-commits
mailing list