Re: [PATCH, PR83423] Don't call targetm.calls.static_chain in non-static function

2017-12-19 Thread Jeff Law
On 12/19/2017 09:34 AM, Tom de Vries wrote: > Hi, > > this patch fixes PR83423. > > > The default_static_chain hook has implemented a sorry if both > STATIC_CHAIN_INCOMING_REGNUM and STATIC_CHAIN_REGNUM are undefined: > ... > rtx > default_static_chain (const_tree ARG_UNUSED (fndecl_or_type), bo

[PATCH, PR83423] Don't call targetm.calls.static_chain in non-static function

2017-12-19 Thread Tom de Vries
Hi, this patch fixes PR83423. The default_static_chain hook has implemented a sorry if both STATIC_CHAIN_INCOMING_REGNUM and STATIC_CHAIN_REGNUM are undefined: ... rtx default_static_chain (const_tree ARG_UNUSED (fndecl_or_type), bool incoming_p) { if (incoming_p) { #ifdef STATIC_CHAI