This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18231] [4.0 regression] Nested inline function not inlined
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2004 18:52:23 -0000
- Subject: [Bug middle-end/18231] [4.0 regression] Nested inline function not inlined
- References: <20041030184607.18231.schwab@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-10-30 18:52 -------
The testcase was simplified too much.
int f (int i)
{
auto inline __attribute__ ((always_inline)) int h (int i) { return i; }
auto inline __attribute__ ((always_inline)) int g (void) { return h (i); }
return g ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18231