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  <kkoj...@gcc.gnu.org>

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

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;
 

Reply via email to