Re: [PATCH, rtl-optimization]: Fix PR66838, Calling multiple SYSV AMD64 ABI functions from MS x64 ABI one results in clobbered parameters

2015-07-13 Thread Jeff Law
On 07/12/2015 12:35 PM, Uros Bizjak wrote: Another missing case of CALL_INSN_FUNCTION_USAGE, where clobbered registers are also marked, this time in postreload/ reload_cse_move2add. Fixed compiler now generates following code callsysv_abi_func movl$global, %esi m

Re: [PATCH, rtl-optimization]: Fix PR66838, Calling multiple SYSV AMD64 ABI functions from MS x64 ABI one results in clobbered parameters

2015-07-13 Thread Richard Biener
On Sun, 12 Jul 2015, Uros Bizjak wrote: > Another missing case of CALL_INSN_FUNCTION_USAGE, where clobbered > registers are also marked, this time in postreload/ > reload_cse_move2add. > > Fixed compiler now generates following code > >callsysv_abi_func >movl$global, %esi

[PATCH, rtl-optimization]: Fix PR66838, Calling multiple SYSV AMD64 ABI functions from MS x64 ABI one results in clobbered parameters

2015-07-12 Thread Uros Bizjak
Another missing case of CALL_INSN_FUNCTION_USAGE, where clobbered registers are also marked, this time in postreload/ reload_cse_move2add. Fixed compiler now generates following code callsysv_abi_func movl$global, %esi movl$.LC2, %edi callsysv_abi_func