Questions about trampolines

Joseph S. Myers joseph@codesourcery.com
Mon Mar 14 13:28:00 GMT 2005


On Mon, 14 Mar 2005, Robert Dewar wrote:

> I have certainly seen it used, but you may well be right that it is
> seldom used. It is certainly reasonable to consider removing this
> extension from C and C++. Anyone using that feature? Or know anyone
> who is.

Nested functions are used in the glibc dynamic linker.  I'm not sure why, 
and they may be inline nested functions whose addresses are never taken.

The extension is not present in GNU C++, only in GNU C.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc mailing list