diff --git a/openmp/runtime/src/kmp_settings.c b/openmp/runtime/src/kmp_settings.c index 2355c5f73a0e..f467e408fc6f 100644 --- a/openmp/runtime/src/kmp_settings.c +++ b/openmp/runtime/src/kmp_settings.c @@ -2535,6 +2535,9 @@ __kmp_stg_parse_gomp_cpu_affinity( char const * name, char const * value, void * // Warning already emitted // __kmp_affinity_type = affinity_none; +# if OMP_40_ENABLED + __kmp_nested_proc_bind.bind_types[0] = proc_bind_false; +# endif } } // __kmp_stg_parse_gomp_cpu_affinity