[flang-commits] [flang] [flang] Allow user to define free via BIND(C) (PR #78428)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Wed Jan 17 08:58:33 PST 2024


https://github.com/vzakhari approved this pull request.

LGTM, though, this will still not work in case of function signature mismatch, e.g. if akin to https://github.com/llvm/llvm-project/issues/61074#issuecomment-1459065487 `free` or `malloc` is defined by user code with a signature different from the standard one.  We should probably report a reasonable error in such cases, but not in this PR.

https://github.com/llvm/llvm-project/pull/78428


More information about the flang-commits mailing list