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

via flang-commits flang-commits at lists.llvm.org
Thu Oct 26 16:58:53 PDT 2023


vdonaldson wrote:

The following functions from `omp_lib.h` do not have a `bind(c)`  attribute, which might be a problem.
```
    subroutine omp_set_affinity_format(format)
    function omp_get_affinity_format(buffer)
    subroutine omp_display_affinity(format)
    function omp_capture_affinity(buffer, format)
    function omp_pause_resource_all(kind)
    function omp_init_allocator(memspace, ntraits, traits)
    function omp_get_default_allocator()
```


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


More information about the flang-commits mailing list