This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project. See the libstdc++ home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

re: recursive inlines in stl_tree



> 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