integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable.
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable. From-SVN: r18878
This commit is contained in:
parent
2e61a5a5d4
commit
d6e6c585a1
@ -1,5 +1,8 @@
|
|||||||
Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
|
Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for
|
||||||
|
unused "junk" variable.
|
||||||
|
|
||||||
* genattrtab.c (write_complex_function): Add a default case in
|
* genattrtab.c (write_complex_function): Add a default case in
|
||||||
generated switch statement to keep -W -Wall quiet.
|
generated switch statement to keep -W -Wall quiet.
|
||||||
|
|
||||||
|
@ -2606,12 +2606,15 @@ copy_rtx_and_substitute (orig, map)
|
|||||||
|| SET_DEST (orig) == virtual_incoming_args_rtx)
|
|| SET_DEST (orig) == virtual_incoming_args_rtx)
|
||||||
{
|
{
|
||||||
/* In case a translation hasn't occurred already, make one now. */
|
/* In case a translation hasn't occurred already, make one now. */
|
||||||
rtx junk = copy_rtx_and_substitute (SET_DEST (orig), map);
|
rtx equiv_reg;
|
||||||
rtx equiv_reg = map->reg_map[REGNO (SET_DEST (orig))];
|
rtx equiv_loc;
|
||||||
rtx equiv_loc = map->const_equiv_map[REGNO (equiv_reg)];
|
HOST_WIDE_INT loc_offset;
|
||||||
HOST_WIDE_INT loc_offset
|
|
||||||
= GET_CODE (equiv_loc) == REG ? 0 : INTVAL (XEXP (equiv_loc, 1));
|
|
||||||
|
|
||||||
|
copy_rtx_and_substitute (SET_DEST (orig), map);
|
||||||
|
equiv_reg = map->reg_map[REGNO (SET_DEST (orig))];
|
||||||
|
equiv_loc = map->const_equiv_map[REGNO (equiv_reg)];
|
||||||
|
loc_offset
|
||||||
|
= GET_CODE (equiv_loc) == REG ? 0 : INTVAL (XEXP (equiv_loc, 1));
|
||||||
return gen_rtx_SET (VOIDmode, SET_DEST (orig),
|
return gen_rtx_SET (VOIDmode, SET_DEST (orig),
|
||||||
force_operand
|
force_operand
|
||||||
(plus_constant
|
(plus_constant
|
||||||
|
Loading…
Reference in New Issue
Block a user