[flang-commits] [flang] [flang] Consider bind(c) when lowering calls to intrinsic module procedures (PR #70386)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Oct 27 03:15:25 PDT 2023


kiranchandramohan wrote:

Thanks, the patch looks fine to me.

Users might also use the `omp_lib.f90` from the OpenMP runtime. For some reason, these functions are not marked `bind(C)` there as well.
https://github.com/llvm/llvm-project/blob/4d4f603793aa134d1d04b60782fac0e6b0ed2172/openmp/runtime/src/include/omp_lib.f90.var#L524

I have asked a question in the patch that introduced this change. https://reviews.llvm.org/D55148. Maybe you can update there as well.

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


More information about the flang-commits mailing list