re PR target/67049 (sh64-elf: internal compiler error: in df_uses_record, at df-scan...
authorKaz Kojima <kkojima@gcc.gnu.org>
Fri, 31 Jul 2015 22:19:51 +0000 (22:19 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Fri, 31 Jul 2015 22:19:51 +0000 (22:19 +0000)
PR target/67049
* config/sh/sh.md (GOTaddr2picreg): Fix typo added with the last change.

From-SVN: r226457

gcc/ChangeLog
gcc/config/sh/sh.md

index 5b9fe091337ff43a07b1c8975492dd74e4bc8f04..ead355e5a0fd89a7678f9b1c1ed878862f0334dc 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-31  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/67049
+       * config/sh/sh.md (GOTaddr2picreg): Fix typo.
+
 2015-07-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/arm/arm.md (*if_neg_move): Convert to insn_and_split.
index 61f663778d0a9d3fca1da9f6ca3376832dff610e..ad49f72c68d8648e9eeea84fa55dd0aef66cac12 100644 (file)
@@ -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;