The following little piece of code produces an ICE if compiled with the "-fno-automatic" compiler option:
subroutine test implicit none complex z integer i,j do i=1,2 do j=1,2 z=cmplx(.5,0.)*cmplx(1.,0.) enddo enddo end The compiler output is: internal compiler error: tree check: expected ssa_name, have var_decl in gather_mem_refs_stmt, at tree-ssa-loop-im.c:1275 Please submit a full bug report -- Summary: ICE tree check using complex numbers and the "-fno- automatic" compiler option Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: harald dot vogt at desy dot de GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25513