OSDN Git Service

* config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Oct 2002 04:19:39 +0000 (04:19 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Oct 2002 04:19:39 +0000 (04:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57871 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e5d76f5..b316453 100644 (file)
@@ -1,5 +1,9 @@
 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
        * toplev.c (rest_of_compilation): Don't copy_loop_headers if
        optimize_size.
index 132ca76..91fa56c 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"