https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code |ice-on-valid-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-09-05 Component|libgomp |middle-end Ever confirmed|0 |1 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why would it be ice-on-invalid-code? If there is no #pragma omp declare target, then when the global vars are referenced in the target region, they are implicitly mapped - i.e. map(tofrom:b).