This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39157] Code that compiles fine in 1GB of memory with 4.1.2 requires > 20GB in 4.2.* and higher
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2009 14:21:22 -0000
- Subject: [Bug middle-end/39157] Code that compiles fine in 1GB of memory with 4.1.2 requires > 20GB in 4.2.* and higher
- References: <bug-39157-271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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