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 -O0 testcase.f90 requires about 20min in inline heuristics, estimating the stack frame size. It also allocates 2.3Gb doing so. -- Summary: [4.3/4.4 Regression] Inline heuristics Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: memory-hog, 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=38584