This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trunk unfrozen, cond-optab branch merged

On Tue, May 12, 2009 at 12:03:02PM +0200, Paolo Bonzini wrote:
> Paolo Bonzini wrote:
> > Subject says it all, I guess.
> And so it does now.  wwwdocs was also updated.
> Paolo

I noticed the powerpc port didn't bootstrap, and checked in the following patch
as obvious:

2009-05-12  Michael Meissner  <>

	PR bootstrap/40118
	* rs6000.c (rs6000_generate_compare): Use op1b instead of
	shadowing exisiting variable op1.

Index: gcc/config/rs6000/rs6000.c
--- gcc/config/rs6000/rs6000.c	(revision 147430)
+++ gcc/config/rs6000/rs6000.c	(working copy)
@@ -12991,13 +12991,13 @@ rs6000_generate_compare (rtx cmp, enum m
       else if (GET_CODE (op1) == UNSPEC
 	       && XINT (op1, 1) == UNSPEC_SP_TEST)
-	  rtx op1 = XVECEXP (op1, 0, 0);
+	  rtx op1b = XVECEXP (op1, 0, 0);
 	  comp_mode = CCEQmode;
 	  compare_result = gen_reg_rtx (CCEQmode);
 	  if (TARGET_64BIT)
-	    emit_insn (gen_stack_protect_testdi (compare_result, op0, op1));
+	    emit_insn (gen_stack_protect_testdi (compare_result, op0, op1b));
-	    emit_insn (gen_stack_protect_testsi (compare_result, op0, op1));
+	    emit_insn (gen_stack_protect_testsi (compare_result, op0, op1b));
 	emit_insn (gen_rtx_SET (VOIDmode, compare_result,

Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]