+2015-09-16 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR target/67573
+ * config/sh/sh.md (call_pcrel): Add early clobber to scratch
+ operand.
+ (call_value_pcrel, sibcall_pcrel, sibcall_value_pcrel): Likewise.
+
2015-09-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (check_global_declaration): Remove declaration.
(use (reg:SI FPSCR_MODES_REG))
(use (reg:SI PIC_REG))
(clobber (reg:SI PR_REG))
- (clobber (match_scratch:SI 2 "=r"))]
+ (clobber (match_scratch:SI 2 "=&r"))]
"TARGET_SH2"
"#"
"reload_completed"
(use (reg:SI FPSCR_MODES_REG))
(use (reg:SI PIC_REG))
(clobber (reg:SI PR_REG))
- (clobber (match_scratch:SI 3 "=r"))]
+ (clobber (match_scratch:SI 3 "=&r"))]
"TARGET_SH2"
"#"
"reload_completed"
[(call (mem:SI (match_operand:SI 0 "symbol_ref_operand" ""))
(match_operand 1 "" ""))
(use (reg:SI FPSCR_MODES_REG))
- (clobber (match_scratch:SI 2 "=k"))
+ (clobber (match_scratch:SI 2 "=&k"))
(return)]
"TARGET_SH2"
"#"
(call (mem:SI (match_operand:SI 1 "symbol_ref_operand" ""))
(match_operand 2 "" "")))
(use (reg:SI FPSCR_MODES_REG))
- (clobber (match_scratch:SI 3 "=k"))
+ (clobber (match_scratch:SI 3 "=&k"))
(return)]
"TARGET_SH2"
"#"