Re: [COMMITTED 2/3] Allow the front-end to create calls with a static chain

2014-11-19 Thread Jeff Law
On 11/19/14 07:58, Richard Henderson wrote: And, at the same time, allow indirect calls to have a static chain. We'll always eliminate the static chain if we can prove it's unused. * calls.c (prepare_call_address): Allow decl or type for first arg. (expand_call): Pass type to p

[COMMITTED 2/3] Allow the front-end to create calls with a static chain

2014-11-19 Thread Richard Henderson
And, at the same time, allow indirect calls to have a static chain. We'll always eliminate the static chain if we can prove it's unused. * calls.c (prepare_call_address): Allow decl or type for first arg. (expand_call): Pass type to prepare_call_address if no decl. * gimple