* reload1.c (emit_input_reload_insns): Use simplify_replace_rtx
instead of replace_rtx for DEBUG_INSNs.
From-SVN: r234320
+2016-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * reload1.c (emit_input_reload_insns): Use simplify_replace_rtx
+ instead of replace_rtx for DEBUG_INSNs.
+
2016-03-18 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
* config/i386/znver1.md : Fix latencies of FP/SSE/AVX
/* Adjust any debug insns between temp and insn. */
while ((temp = NEXT_INSN (temp)) != insn)
if (DEBUG_INSN_P (temp))
- replace_rtx (PATTERN (temp), old, reloadreg);
+ INSN_VAR_LOCATION_LOC (temp)
+ = simplify_replace_rtx (INSN_VAR_LOCATION_LOC (temp),
+ old, reloadreg);
else
gcc_assert (NOTE_P (temp));
}