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

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Thu Nov 2 13:14:45 PDT 2023


razvanlupusoru wrote:

> @razvanlupusoru I get an error when I try to compile your test to binary:
> 
> ```
> flang-new -fopenmp flang/test/Lower/OpenMP/omp-lib-num-threads.f90
> error: loc("flang/test/Lower/OpenMP/omp-lib-num-threads.f90":13:3): flang/lib/Optimizer/Builder/IntrinsicCall.cpp:1375: not yet implemented: intrinsic: omp_set_num_threads
> ```
> 
> There is no error message about not implemented intrinsic, if I revert your changes.

Thank you for letting me know! :)
https://github.com/llvm/llvm-project/pull/71101

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


More information about the flang-commits mailing list