http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54269
Bug #: 54269 Summary: [4.8 Regression] memory usage too large when optimizing Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: joost.vandevond...@mat.ethz.ch Created attachment 28019 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28019 gzipped testcase. The attached testcase requires +- 10Gb resident memory to compile with: gfortran -c -O3 -funroll-all-loops -march=native -ffree-form -D__LIBINT hfx_contraction_methods.F using current trunk. I believe this is a recent regression in trunk. 4.7 needs 500Mb. From a very quick gdb session, I guess this is some rtl thing.