recursive inlines in stl_tree

Brendan Kehoe brendan@cygnus.com
Thu Nov 19 00:17:00 GMT 1998


> G++ *should* be able to inline it.  It's tail-recursive,
> so is easily turned into a loop.  (This is stl/bits/stl_tree.h,
> function __black_count().)

We've talked about making the compiler intelligent about tail recursion
in the past, but haven't yet invested in its implementation.

B



More information about the Libstdc++ mailing list