https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65597
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 35184 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35184&action=edit gcc5-pr65597.patch That said, IMHO this patch is a step in the right direction and fixes this Fortran testcase, though the C testcase as well as similar Fortran testcase with a different var under linear clause still ICEs.