[Bug middle-end/18231] New: [4.0 regression] Nested inline function not inlined
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Sat Oct 30 18:46:00 GMT 2004
When a nested inline function calls another nested inline function the latter
is never inlined (even if marked always_inline). This breaks glibc.
void f (void)
{
auto inline __attribute__ ((always_inline)) void h (void) { }
auto inline __attribute__ ((always_inline)) void g (void) { h (); }
g ();
}
--
Summary: [4.0 regression] Nested inline function not inlined
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18231
More information about the Gcc-bugs
mailing list