[Bug c/122892] [OpenMP] With ALLOCATE directive, for global static variables, reject allocators with access trait:cgroup/pteam/thread

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 27 10:39:40 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122892

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The current wording permits it for 'local static variables',
there are some issues with this → OpenMP Spec Issue 4665.

TODO:
- Check what the outcome of that discussion is - and what it means
  for the Fortran implementation.
- C/C++ check still needs to be added.


More information about the Gcc-bugs mailing list