https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68813
cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-12-16 CC| |cesar at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |cesar at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from cesar at gcc dot gnu.org --- (In reply to vries from comment #1) > Related discussion: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02076.html I think that's more of a band-aid rather than a proper fix. But I suspect that patch will still come in handy for routines. For some reason, reductions don't like firstprivate variables in fortran. I tried a similar test in gcc and g++, and neither of those compilers ICE'd. You can also reduce this test case a little bit by removing the array 'a' and replacing the reduction with 'sum = sum + 1'. I'll work on this.