http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-10-14 10:26:41 |2011-03-04 10:26:41
Known to fail| |4.6.0
--- Comment #19 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-04
12:36:56 UTC ---
Still fails to inline baz (not a regression) and diagnoses this (this is
the regression).
> When a gnu_inline (or extern inline gnu89) function has a real is redefined,
> we
> don't want any inlining for that function even if it is always_inline, at
> least
> GCC always behaved that way and even on the simpler testcase behaves that way.
I don't think this is the desired behavior (nor is it documented). If it is
then we should simply drop the always-inline attribute when merging the
function decls (basically throw away the inline definition).