"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
+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>
* doc/invoke.texi: Remove param.
|| CONSTANT_P (new_rtx)
|| (GET_CODE (new_rtx) == SUBREG
&& 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;
if (!varying_mem_p (new_rtx))
flags |= PR_HANDLE_MEM;