https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105861
Bug ID: 105861
Summary: OpenMP target construct not properly privatizing C++
member variables
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104696
--- Comment #3 from Chung-Lin Tang ---
The problem, at a low-level, is that the Fortran FE is using always_pointer,
while C/C++ front-ends generate attach_detach (and turns in attach after
gimplify).
attach and always_pointer both modify the GP
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103705
Chung-Lin Tang changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416
--- Comment #1 from Chung-Lin Tang ---
Can you see if adding this patch:
https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583279.html
fixes this problem? If so, then it should be another occurrence of PR90030