This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23547] New: [4.1 regression] ICE with recursive call to nested function
- 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: 24 Aug 2005 16:13:14 -0000
- Subject: [Bug c/23547] New: [4.1 regression] ICE with recursive call to nested function
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet causes an ICE on mainline when compiled
with "--param ggc-min-expand=0 --param ggc-min-heapsize=0":
==================
void foo()
{
void bar()
{
bar();
}
}
==================
Apparently there's something wrong with recursive calls to nested functions.
--
Summary: [4.1 regression] ICE with recursive call to nested
function
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23547