http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770
--- Comment #8 from Andy Jost 2012-11-20
17:14:18 UTC ---
The workaround I mentioned in comment #5 does seem to do the trick.
Specifically, something like this works in all the cases I've tried:
struct MainNode : Node
{
virtua
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770
--- Comment #5 from Andy Jost 2012-10-02
15:25:46 UTC ---
Most of the technical discussion is over my head, I'm afraid. Is there a
simple workaround? What if the body of H contains only a call to a
non-inlineable function to do its work
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770
Bug #: 54770
Summary: sibling call optimization is not applied where it
ought to be
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFI
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54058
Andy Jost changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54058
--- Comment #2 from Andy Jost 2012-07-21
21:45:30 UTC ---
I think you're right. Section 14.6.5.2 of the 2nd ed. (2003-10-15) has a
footnote in section 14.6.5.2. It reads: 131) Friend declarations do not
introduce new names into any scope, eithe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54058
Bug #: 54058
Summary: Injected friend functions are not considered when
using contextual type info to take a function address
Classification: Unclassified
Product: gcc
Version: u