------- Comment #2 from aoliva at gcc dot gnu dot org 2009-09-12 06:39 ------- Created an attachment (id=18572) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18572&action=view) patch that might help alleviate the problem
This patch helped me save a lot of memory on another PPC testcase that involved lots of expressions with equivalent values, which causes “interesting“ behavior in var-tracking/cselib, generating a lot of RTL junk. From your description, it's not clear that it's the same problem, but I thought I'd post the (unpolished) patch anyway, because a proper algorithmic fix to var-tracking will take longer. Even more so because I'm away for a week, starting today. I hope this helps. Please let me know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343