https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- [ Redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01362.html ] AFAIU, because while minimizing I removed the '#pragma omp declare target' around the global declarations, this is an ice-on-invalid-code.