GCC complains about nested functions despite none being present

Maxim Blinov maxim.a.blinov@gmail.com
Sun Jun 25 18:41:00 GMT 2017


> You need to define STATIC_CHAIN_REGNUM (and maybe
> STATIC_CHAIN_INCOMING_REGNUM
> and/or TARGET_STATIC_CHAIN, etc.)  There also are the various
> TRAMPOLINE macros for the more difficult cases.

Thanks, this works.

However, what is a static chain pointer exactly? After some reading, I
understand it to be used for retrieving locals from the caller's
frame, but how would this functionality be relevant to C?



More information about the Gcc-help mailing list