Questions about trampolines
Hans-Peter Nilsson
hp@bitrange.com
Thu Mar 24 15:20:00 GMT 2005
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
More information about the Gcc
mailing list