This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41343] New: sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use
- From: "froydnj 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 04:04:27 -0000
- Subject: [Bug middle-end/41343] New: sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiling the attached file as:
powerpc-linux-gnu-gcc dosincos.i -g -O2 -std=gnu99 -fgnu89-inline
-fmerge-all-constants
The memory use of GCC balloons to 4GB+. I have a low ulimit on my machine, so
I don't know whether leaving it alone with more memory would let the
compilation finish. Using -fdump-tree-all-details indicates that things die
somewhere in the inline_param3 pass.
Discussion on IRC demonstrates the same behavior with a cross compiler from
x86-64, with memory usage up to 12GB without finishing.
--
Summary: sysdeps/ieee754/dbl-64/dosincos.c from glibc causes
excessive memory use
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: froydnj at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343