This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30537] New: [4.3 regression] ICE with -fno-unit-at-a-time an inlining
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 00:09:13 -0000
- Subject: [Bug middle-end/30537] New: [4.3 regression] ICE with -fno-unit-at-a-time an inlining
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline
when compiled with "gcc -fno-unit-at-a-time -O":
========================================
static inline void foo() {}
void bar()
{
foo();
}
========================================
bug.c:6: error: inlined_to pointer is set but no predecessors found
foo/2(-1): (inline copy in bar/1) availability:available(0) tree finalized
inlinable
called by:
calls:
bug.c:6: internal compiler error: verify_cgraph_node failed
Please submit a full bug report, [etc.]
The regression seems to be quite recent, as I cannot reproduce it with
GCC 4.3.0-20070112.
--
Summary: [4.3 regression] ICE with -fno-unit-at-a-time an
inlining
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30537