https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66385
Bug ID: 66385 Summary: ICE: FORALL writing multiple elements of one array Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: wangmianzhi1 at linuxmail dot org Target Milestone: --- The ICE is triggered when compiling the following code with -O1 or higher -O levels. program test double precision::a(30) forall(i=1:10) a(10*[0,1,2]+i)=1d0 end forall end program