https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89302
Bug ID: 89302
Summary: libgomp.c-c++-common/for-11.c fails when offloaded to
HSA
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: hsa
Assignee: unassigned at gcc dot gnu.org
Reporter: jamborm at gcc dot gnu.org
CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
I can see the following two libgomp failures when the testsuite is run
on an HSA-capable machine and HSA offloading is enabled.
libgomp.c/../libgomp.c-c++-common/for-11.c execution test
libgomp.c++/../libgomp.c-c++-common/for-11.c execution test
The reason is that gridification cannot cope with != operator in
OpenMP loops. A fix has been proposed on the mailing list:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00105.html