the attached testcase compiles in about 3s with gfortran -c -ffree-form -O3 -ffast-math -ftree-vectorize -funroll-loops -march=native -ftime-report bug.f90
but requires about 130s adding -fgraphite-identity to the options GRAPHITE loop transforms: 123.82 (97%) usr 0.59 (89%) sys 124.37 (97%) wall 2262 kB ( 7%) ggc -- Summary: [graphite] slow compilation Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40965