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