While I was looking for an ICE, I noticed that the following code causes gfortran to take a long time (almost a minute, this is without optimizations)
program sel implicit none integer,parameter :: n=1000 integer :: i,j real,dimension(n*n) :: vect vect(:) = (/ ((( (i+j+3)),i=1,n),j=1,n) /) end -- Summary: Compile time is high for the following code Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: minor Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923