[Bug c++/105861] New: OpenMP target construct not properly privatizing C++ member variables

2022-06-06 Thread cltang at gcc dot gnu.org via Gcc-bugs
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

[Bug fortran/104696] [OpenMP] Implicit mapping breaks struct mapping

2022-03-10 Thread cltang at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103705] [12 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'array_ref' in finish_omp_clauses, at cp/semantics.c:7928 since r12-5838-g6c0399378e77d029

2022-03-03 Thread cltang at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103705 Chung-Lin Tang changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-24 Thread cltang at gcc dot gnu.org via Gcc-bugs
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