------- Comment #11 from jakub at gcc dot gnu dot org 2009-02-12 14:21 ------- Created an attachment (id=17288) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17288&action=view) gcc44-pr39157.patch
Quick hack to avoid loop invariant motion from excessively large loops at -O1. With this cc1 still tops at 1.2GB, but loop invariants are still moved out of reasonably sized loops. For the huge ones I wonder how much it buys in anyway, there it increases register pressure a lot. 10000 is pretty arbitrary, I wonder if we want a param or something. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39157