This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions about trampolines


On Sun, 13 Mar 2005, Øyvind Harboe wrote:

> Trampolines are strange things... :-)

> - AFAICT, the cris target is saving the value of the
>   static chain register in the trampoline. How can that work
>   with recursive functions?

What's wrong with that?
Do I miss something fundamental?

> Does the cris target PASS or FAIL
>   gcc.dg/trampoline-1.c?

Why not try it yourself?  All the tools are present. ;-)
But I'll spoil the fun: no, it calls abort.
I haven't looked into it.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]