https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064
cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cesar at gcc dot gnu.org, | |tschwinge at gcc dot gnu.org --- Comment #6 from cesar at gcc dot gnu.org --- I wasn't able to replicate this failure on an x86_64 target either with or without nvptx offloading. It's like this is the vector reduction that's failing: !$acc parallel vector_length(vl) copy(rv) !$acc loop reduction(max:rv) vector do i = 1, n rv = max (rv, array(i)) end do !$acc end parallel Maybe a reduction variable isn't being initialized properly. But that's strange because on the host, all of the reductions are handled the same. That's not true with nvptx. I'll escalate this issue internally in Mentor.