public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18231] New: [4.0 regression] Nested inline function not inlined
@ 2004-10-30 18:46 schwab at suse dot de
  2004-10-30 18:47 ` [Bug middle-end/18231] " schwab at suse dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schwab at suse dot de @ 2004-10-30 18:46 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2004-11-03 19:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-30 18:46 [Bug middle-end/18231] New: [4.0 regression] Nested inline function not inlined schwab at suse dot de
2004-10-30 18:47 ` [Bug middle-end/18231] " schwab at suse dot de
2004-10-30 18:52 ` schwab at suse dot de
2004-10-30 19:07 ` pinskia at gcc dot gnu dot org
2004-10-30 19:21 ` pinskia at gcc dot gnu dot org
2004-10-30 20:03 ` pinskia at gcc dot gnu dot org
2004-10-30 20:30 ` pinskia at gcc dot gnu dot org
2004-11-03 19:55 ` cvs-commit at gcc dot gnu dot org
2004-11-03 19:56 ` pinskia at gcc dot gnu dot org

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).