Skip to content

Commit 968d8ea

Browse files
authored
[OpenMP][Flang]Fix omp_get_cancellation return type from integer to logical (llvm#142990)
1 parent a71210e commit 968d8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/runtime/src/include/omp_lib.F90.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399

400400
function omp_get_cancellation() bind(c)
401401
use omp_lib_kinds
402-
integer (kind=omp_integer_kind) omp_get_cancellation
402+
logical (kind=omp_logical_kind) omp_get_cancellation
403403
end function omp_get_cancellation
404404

405405
function omp_is_initial_device() bind(c)

0 commit comments

Comments
 (0)