https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547
--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- I used "#pragma omp target teams num_teams(1) map(x) reduction(+: x)" to test this with OpenMP "nvptx" offloading, which works. An additional observation: for host fallback (adding an "if(0)" clause to both the OpenMP and OpenACC directives, for example), the OpenMP code still works, but for OpenACC, we then get a result of "x = 23", so apparently the reduction computation/finalization code is being skipped in this case. (Let's please make this a separate PR if it's not directly related to this one here.)