https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #10) > Oddly, if one replaces > > #pragma omp target teams distribute parallel for reduction(||: orfc) > map(orfc) > > by > > #pragma omp target map(orfc) > { > #pragma teams distribute parallel for reduction(||: orfc) Missing omp before teams.