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


Hans-Peter Nilsson wrote:
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?

You miss nothing, the whole point of a trampoline is to save the value of the static chain value.



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