public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15040] New: numerous "sorry, unimplemented: inlining failed" failures
@ 2004-04-21 11:24 adam at yggdrasil dot com
  2004-04-21 11:26 ` [Bug c/15040] " adam at yggdrasil dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: adam at yggdrasil dot com @ 2004-04-21 11:24 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-05-20  9:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 11:24 [Bug c/15040] New: numerous "sorry, unimplemented: inlining failed" failures adam at yggdrasil dot com
2004-04-21 11:26 ` [Bug c/15040] " adam at yggdrasil dot com
2004-04-21 11:39 ` pinskia at gcc dot gnu dot org
2004-04-21 11:42 ` [Bug c++/15040] " pinskia at gcc dot gnu dot org
2004-04-21 12:50 ` pinskia at gcc dot gnu dot org
2004-04-21 13:54 ` [Bug java/15040] " pinskia at gcc dot gnu dot org
2004-04-21 14:06 ` daniel_e at dds dot nl
2004-04-21 14:09 ` daniel_e at dds dot nl
2004-04-21 18:05 ` pinskia at gcc dot gnu dot org
2004-04-21 22:50 ` daniel_e at dds dot nl
2004-04-22  9:00 ` adam at yggdrasil dot com
2004-04-22 23:47 ` [Bug c++/15040] " adam at yggdrasil dot com
2004-04-22 23:53 ` pinskia at gcc dot gnu dot org
2004-05-09 22:37 ` karlankayne at comcast dot net
2004-05-21 12:23 ` adam at yggdrasil dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).