This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Questions about trampolines
> Zack says in his post that the Ada and Pascal nested functions do not
> use trampolines.
>
> http://gcc.gnu.org/ml/gcc/2005-03/msg00642.html
You misread. Pointers to nested functions always require trampolines.
> The main advantage I see of having nested functions & trampolines in C
> is that they will see more testing. I think it would be really tough
> for, say Ada, to rely on features in the backend that are not used at
> all by C/C++.
That's already the case for other features, although these are primarily
middle-end features.
--
Eric Botcazou