This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2007 13:38:40 -0000
- Subject: [Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
- References: <bug-27004-7849@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-11-04 13:38 -------
Created an attachment (id=14483)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14483&action=view)
patch
Patch to limit the number of SFTs created per function. The limit of 1000 SFTs
brings down memory usage to 1.3GB, a limit of 500 to 1.2GB, a limit of 100
results in 970MB, a limit of
zero 954MB.
So there's still something taking 400MB more memory than in 4.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004