This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Questions about trampolines
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 23 Mar 2005 22:21:21 -0500 (EST)
- Subject: Re: Questions about trampolines
- References: <1110745459.14219.83.camel@localhost.localdomain>
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