> Do any of the current compilers do the following?>> If a function is called from only one place does the compiler in-line> the code.

I've had several flavors of GNU C++ do this for me, although the
inline optimization takes place exclusively within a module. It is
worth noting that if your compiler does this, it is likely beneficial
to declare functions which are only used within the current file as
static to avoid inlining the function while generating another copy
for calls from external modules.