* config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
authorRichard Henderson <rth@redhat.com>
Mon, 7 Oct 2002 04:19:39 +0000 (21:19 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 7 Oct 2002 04:19:39 +0000 (21:19 -0700)
From-SVN: r57871

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index e5d76f5b7e2590a6c676a747ddc4de059aa6b99d..b31645380c0477a5b6c3f8d73578b5441417d185 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-06  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
+
 2002-10-06  Richard Henderson  <rth@redhat.com>
 
        PR optimization/2960
index 132ca76c2425a39d0e60c2302060bd2bf7a996e6..91fa56c763729740c4d4f5f5ac31fe92ff682efe 100644 (file)
 
 (define_insn "load_toc_v4_PIC_2"
   [(set (match_operand:SI 0 "gpc_reg_operand" "=r")
-       (mem:SI (plus:SI (match_operand:SI 1 "gpc_reg_operand" "r")
+       (mem:SI (plus:SI (match_operand:SI 1 "gpc_reg_operand" "b")
                   (minus:SI (match_operand:SI 2 "immediate_operand" "s")
                             (match_operand:SI 3 "immediate_operand" "s")))))]
   "TARGET_ELF && DEFAULT_ABI != ABI_AIX && flag_pic == 2"