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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
          Component|libgomp                     |testsuite

--- Comment #12 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #11)
> (In reply to Tom de Vries from comment #10)
> > [ Redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01333.html, using
> > PR81875 instead of PR81844, since PR81844 was overwritten ]
> > 
> > Filed comment 3 as PR81875 - omp for loop optimized away
> > 
> > This PR remains for the analysis of the test-case from comment 0.
> 
> My current hypothesis is that this is a cuda bug.
> 
> Filed bug report at nvidia, waiting for confirmation.

Confirmed.

We could work around this by supplying:
...
 /* { dg-set-target-env-var GOMP_NVPTX_JIT "-O0" } */
...
but that one is still in review:
https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00172.html .

Reply via email to