Fix fwprop call to call to paradoxical_subreg_p
"mode" is the mode of "x", not the replacement value. 2019-06-06 Richard Sandiford <richard.sandiford@arm.com> gcc/ * fwprop.c (propagate_rtx): Fix call to paradoxical_subreg_p. From-SVN: r272032
This commit is contained in:
parent
e37333bad7
commit
6c202d9dc6
|
@ -1,3 +1,7 @@
|
||||||
|
2019-06-07 Richard Sandiford <richard.sandiford@arm.com>
|
||||||
|
|
||||||
|
* fwprop.c (propagate_rtx): Fix call to paradoxical_subreg_p.
|
||||||
|
|
||||||
2019-06-07 Martin Liska <mliska@suse.cz>
|
2019-06-07 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
* doc/invoke.texi: Remove param.
|
* doc/invoke.texi: Remove param.
|
||||||
|
|
|
@ -680,7 +680,7 @@ propagate_rtx (rtx x, machine_mode mode, rtx old_rtx, rtx new_rtx,
|
||||||
|| CONSTANT_P (new_rtx)
|
|| CONSTANT_P (new_rtx)
|
||||||
|| (GET_CODE (new_rtx) == SUBREG
|
|| (GET_CODE (new_rtx) == SUBREG
|
||||||
&& REG_P (SUBREG_REG (new_rtx))
|
&& REG_P (SUBREG_REG (new_rtx))
|
||||||
&& !paradoxical_subreg_p (mode, GET_MODE (SUBREG_REG (new_rtx)))))
|
&& !paradoxical_subreg_p (new_rtx)))
|
||||||
flags |= PR_CAN_APPEAR;
|
flags |= PR_CAN_APPEAR;
|
||||||
if (!varying_mem_p (new_rtx))
|
if (!varying_mem_p (new_rtx))
|
||||||
flags |= PR_HANDLE_MEM;
|
flags |= PR_HANDLE_MEM;
|
||||||
|
|
Loading…
Reference in New Issue