diff mbox

[committed,SH] Fix PR target/67049

Message ID 20150801.072204.319121743.kkojima@rr.iij4u.or.jp
State New
Headers show

Commit Message

Kaz Kojima July 31, 2015, 10:22 p.m. UTC
I've committed the one liner below to fix PR target/67049 which causes
build failures for sh64-elf on 5/6.  There is a typo in GOTaddr2picreg,
which is my bad.  Tested on sh64-unknown-elf.

Regards,
	kaz
--
2015-07-31  Kaz Kojima  <kkojima@gcc.gnu.org>

	PR target/67049
	* config/sh/sh.md (GOTaddr2picreg): Fix typo.
diff mbox

Patch

diff --git a/config/sh/sh.md b/config/sh/sh.md
index 61f6637..ad49f72 100644
--- a/config/sh/sh.md
+++ b/config/sh/sh.md
@@ -10638,7 +10638,7 @@  label:
   if (TARGET_SHMEDIA)
     {
       rtx tr = gen_rtx_REG (Pmode, TR0_REG);
-      rtx pic = operands[0];
+      rtx pic = operands[1];
       rtx lab = PATTERN (gen_call_site ());
       rtx insn, equiv;