http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54488
Bug #: 54488 Summary: tree loop invariant motion uses an excessive amount of memory Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: memory-hog Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org LIM works on the whole function, gathering all memory accesses of all loops at a time instead of working on individual loop nests. For the testcase in PR46590 this uses 1GB of memory.