https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #3 from zhuguanghong <zhuguanghong at uniontech dot com> --- hi ,thanks for your reply initialize_env (void) 1 { 0 ........ 1 if (parse_affinity (ignore)) 2 { 3 if (gomp_global_icv.bind_var == omp_proc_bind_false) 4 gomp_global_icv.bind_var = true; 5 ignore = true; 6 } 7 if (gomp_global_icv.bind_var != omp_proc_bind_false) 8 gomp_init_affinity (); Set the cpuset in the parse_affinity function and set it in different gomp_places_list .the cpuset is set in the parse_affinity function and is set in different gomp_places_list, but in the function gomp_init_affinity it is only set using gomp_places_list[0]