From a290046011f0e7b1b27b1cadfe4b76943d8b991b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 6 Oct 2002 21:19:39 -0700 Subject: [PATCH] * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint. From-SVN: r57871 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/rs6000.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5d76f5b7e2..b31645380c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-10-06 Richard Henderson + + * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint. + 2002-10-06 Richard Henderson PR optimization/2960 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 132ca76c242..91fa56c7637 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10217,7 +10217,7 @@ (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" -- 2.30.2