[Bug c/15040] New: numerous "sorry, unimplemented: inlining failed" failures
adam at yggdrasil dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 21 11:24:00 GMT 2004
gcc-3.4.0 generates numerous "sorry, unimplemented: inlining failed"
compilation failures, which never occurred in 3.3.2.
I believe this some kind of memory allocation failure, because I happend to
observe it on a system that has a slow kernel memory leak. Some files on which
gcc got this error on a system that had been exercising the memory leak would
compile successfully if I would reboot the computer and try again. However,
other files, such as, gcc-3.4.0/gcc/libjava/interpret.cc would always fail to
compile with this error, on a machine with 512MB of RAM and no swap. (Deleting
the word "inline" from line 98 of interpret.cc works around the problem.)
Another example that readily reproduces these compilation failures is attempting
to build the qt-3.3.1 windowing tool kit.
I am aware that my hypothesizing that this is a memory allocation failure opens
up two areas for potential nitpicking: (1) there is no specification for the
amount of memory that gcc can require, and (2) if gcc is changed to generate
non-inline code when memory allocation for inlining fails, that would make gcc
potentially generate different code for different runs on the same input.
However, I hope that there will be way to get the memory consumption down to
levels similar to gcc-3.3.2, which did not seem to have this problem in
practice.
I'll add an attachement to this bug report for
gcc-3.4.0/gcc/libjava/interpret.i.
--
Summary: numerous "sorry, unimplemented: inlining failed"
failures
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: adam at yggdrasil dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15040
More information about the Gcc-bugs
mailing list