[Bug fortran/98476] New: OpenMP offload syntax restriction

2020-12-29 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98476 Bug ID: 98476 Summary: OpenMP offload syntax restriction Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/98476] OpenMP offload syntax restriction

2020-12-30 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98476 --- Comment #2 from Ye Luo --- @jakub thanks for the quick reply. However, even if I add map(to: a) which is almost a no-op to satisfy the compiler for 4.5 spec. The printout result is still wrong. It should be 0 and 1 but the fortran case

[Bug fortran/98476] OpenMP offload syntax restriction

2020-12-30 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98476 --- Comment #3 from Ye Luo --- I verified that current master has removed the syntax restriction. However, the printout remains incorrect.

[Bug fortran/98858] OpenMP offload target data ICE at use_device_ptr

2021-01-27 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98858 --- Comment #1 from Ye Luo --- GNU Fortran (GCC) 11.0.0 20210127 (experimental)

[Bug fortran/98858] New: OpenMP offload target data ICE at use_device_ptr

2021-01-27 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98858 Bug ID: 98858 Summary: OpenMP offload target data ICE at use_device_ptr Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/98862] New: Complex reduction support in offload region

2021-01-27 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98862 Bug ID: 98862 Summary: Complex reduction support in offload region Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/98869] New: Allowing mapping this in OpenMP target

2021-01-28 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98869 Bug ID: 98869 Summary: Allowing mapping this in OpenMP target Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/98869] Allowing mapping this in OpenMP target

2021-01-28 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98869 --- Comment #1 from Ye Luo --- Full source code at https://github.com/QMCPACK/qmcpack/blob/a23584738485bb7c948d0ba1841c669fe76500b6/src/Particle/SoaDistanceTableABOMPTarget.h#L63

[Bug target/98862] Complex reduction support in offload region

2021-01-28 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98862 --- Comment #3 from Ye Luo --- Cool. -foffload=-latomic resolved my problem.

[Bug libgomp/66756] libgfortran: ThreadSanitizer: lock-order-inversion

2021-05-22 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66756 Ye Luo changed: What|Removed |Added CC||xw111luoye at gmail dot com --- Comment #18

[Bug c++/102204] OpenMP offload map type restriction

2021-09-13 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102204 --- Comment #2 from Ye Luo --- User code has been written in mostly 5.0 fashion as 4.5 has too many restrictions. For most users, they only need a subset of 5.0 feature with up-to-date compilers and fully implemented 5.0 is not expected. Back

[Bug c++/98869] Allowing mapping this in OpenMP target

2021-09-13 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98869 Ye Luo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98869] Allowing mapping this in OpenMP target

2021-09-04 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98869 --- Comment #3 from Ye Luo --- This doesn't work with gcc 11.2 but works on devel/omp/gcc-11 branch.

[Bug c++/102204] New: OpenMP offload map type restriction

2021-09-04 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102204 Bug ID: 102204 Summary: OpenMP offload map type restriction Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/104283] New: nvptx-none needs more user friendly architecture handling

2022-01-29 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104283 Bug ID: 104283 Summary: nvptx-none needs more user friendly architecture handling Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104285] New: openmp offload linker issue

2022-01-29 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104285 Bug ID: 104285 Summary: openmp offload linker issue Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102204] OpenMP offload map type restriction

2022-01-28 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102204 --- Comment #3 from Ye Luo --- I tried today's main 3f0fcda37f58d4108feb67de08f181a32bcb6388. This issue persists. Any chance this will be resolved in 12 release?

[Bug middle-end/104285] openmp offload linker issue

2022-02-08 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104285 --- Comment #1 from Ye Luo --- Here is a minimal reproducer. https://github.com/ye-luo/openmp-target/tree/master/tests/linking/two_identical_templates $ g++ -fopenmp -foffload=nvptx-none -O3 -c test_a.cpp $ g++ -fopenmp -foffload=nvptx-none

[Bug c++/104493] New: OpenMP offload map cannot handle const

2022-02-10 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104493 Bug ID: 104493 Summary: OpenMP offload map cannot handle const Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/104493] OpenMP offload map cannot handle const

2022-05-23 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104493 Ye Luo changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1 from

[Bug c++/104493] OpenMP offload map cannot handle const

2022-05-25 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104493 --- Comment #3 from Ye Luo --- Thank you for the answer with well explained development procedure of gcc. I was intended to keep this bug report active. I just adopted OpenMP offload options adjusted in gcc 12 but OG11 doesn't have them due to

[Bug c++/104493] OpenMP offload map cannot handle const

2022-07-04 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104493 --- Comment #4 from Ye Luo --- When I tried master and devel/omp/gcc-12, the fix has not been applied. Just keep a note here. Probably this has been planned.

[Bug c++/105299] New: dereference null pointer

2022-04-17 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105299 Bug ID: 105299 Summary: dereference null pointer Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/105299] dereference null pointer

2022-04-17 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105299 --- Comment #3 from Ye Luo --- Unfortunately there is no easy reproducer. Even without the printf. I got the same failure. Will try with a debugger.

[Bug c++/106829] [12/13 Regression] OpenMP offload internal compiler error: in gimplify_expr, at gimplify.cc:16222 since r12-5835

2022-09-07 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106829 Ye Luo changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106829] New: OpenMP offload internal compiler error: in gimplify_expr, at gimplify.cc:16222

2022-09-04 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106829 Bug ID: 106829 Summary: OpenMP offload internal compiler error: in gimplify_expr, at gimplify.cc:16222 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/98862] Complex reduction support in offload region

2022-09-08 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98862 Ye Luo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---