Call copy_to_mode_reg instead of force_reg.
2011-07-21 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_expand_call): Call copy_to_mode_reg instead of force_reg. From-SVN: r176614
This commit is contained in:
parent
69a6209457
commit
7fd72c6fb5
@ -1,3 +1,8 @@
|
||||
2011-07-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (ix86_expand_call): Call copy_to_mode_reg
|
||||
instead of force_reg.
|
||||
|
||||
2011-07-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (ix86_expand_move): Convert to Pmode if
|
||||
|
@ -21515,7 +21515,7 @@ ix86_expand_call (rtx retval, rtx fnaddr, rtx callarg1,
|
||||
fnaddr = XEXP (fnaddr, 0);
|
||||
if (GET_MODE (fnaddr) != Pmode)
|
||||
fnaddr = convert_to_mode (Pmode, fnaddr, 1);
|
||||
fnaddr = gen_rtx_MEM (QImode, force_reg (Pmode, fnaddr));
|
||||
fnaddr = gen_rtx_MEM (QImode, copy_to_mode_reg (Pmode, fnaddr));
|
||||
}
|
||||
|
||||
call = gen_rtx_CALL (VOIDmode, fnaddr, callarg1);
|
||||
|
Loading…
Reference in New Issue
Block a user