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