This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41343] sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use
- From: "aoliva 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 Sep 2009 06:39:36 -0000
- Subject: [Bug middle-end/41343] sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use
- References: <bug-41343-13372@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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