mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
Many OpenMP routines in omp_lib currently accept only integer(kind=omp_integer_kind) arguments, where omp_integer_kind maps to c_int. As a result, Flang's type checking rejects calls that pass integer(1), integer(2), or integer(8) arguments. To improve compatibility, wrapper procedures have been added in the omp_lib module for applicable routines, enabling support for integer(1), integer(2), integer(4), and integer(8) argument types. The interfaces are added in omp_lib module and the implementations are part of omp_lib_impl sub module. Similar changes are required in omp_lib.h and will be addressed in a separate pull request. Fixes #123948. Assisted-by: Cursor Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| omp_lib.F90.var | ||
| omp_lib.h.var | ||
| omp_lib_impl.F90.var | ||