[Openmp-commits] [openmp] Fix Issue #76121 [OpenMP] [Flang] Program crashes at runtime (PR #76122)

Kiran Chandramohan via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 21 02:02:11 PST 2023

@@ -368,7 +368,7 @@ void __kmpc_fork_call_if(ident_t *loc, kmp_int32 argc, kmpc_micro microtask,
       __kmp_invoke_microtask(VOLATILE_CAST(microtask_t) microtask, gtid,
-                             /*args=*/nullptr
+                             /*args=*/&args
kiranchandramohan wrote:

You might need a comment as to why argc==0 but args is set even though it is null.


More information about the Openmp-commits mailing list