This is split off from PR38474 for clarity. Compiling the testcase of that PR
(http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) as gfortran-4.3 -ffree-line-length-512 -g -ffree-form -ftime-report -c -O3 -march=native -funroll-loops -fno-rename-registers testcase.f90 shows that a slow routine at -O3 is related to compute_may_aliases, at the point I interupted the profiling, this routine had called add_virtual_operand 200M times. -- Summary: excessive time in compute_may_aliases Product: gcc Version: 4.4.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 OtherBugsDependingO 38474 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38585