PPC regression on the 3.2 branch

Richard Henderson rth@redhat.com
Sun Oct 6 21:22:00 GMT 2002


Fixed thus.


r~


        * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.

Index: rs6000.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.212
diff -c -p -d -u -r1.212 rs6000.md
--- rs6000.md	24 Sep 2002 12:49:02 -0000	1.212
+++ rs6000.md	7 Oct 2002 04:17:11 -0000
@@ -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"



More information about the Gcc-bugs mailing list