https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last reconfirmed| |2023-09-18 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 55920 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55920&action=edit gcc14-pr111413.patch Untested fix. Large patch but in the end it is just --- libgomp/env.c +++ libgomp/env.c @@ -2224,6 +2224,7 @@ initialize_env (void) none = gomp_get_initial_icv_item (GOMP_DEVICE_NUM_FOR_NO_SUFFIX); initialize_icvs (&none->icvs); + if (environ) for (env = environ; *env != 0; env++) { if (!startswith (*env, "OMP_")) plus reindentation.