Commit a601a53a by Richard Sandiford Committed by Richard Sandiford

re PR bootstrap/49195 (Error building libgcc for powerpc64 since r174305)

gcc/
	PR bootstrap/49195
	* genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP
	for match_op_dup.

From-SVN: r174378
parent a6d66599
2011-05-28 Richard Sandiford <rdsandiford@googlemail.com>
PR bootstrap/49195
* genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP
for match_op_dup.
2011-05-27 Andrew Pinski <pinskia@gmail.com>
PR middle-end/48981
......
......@@ -913,10 +913,10 @@ add_to_sequence (rtx pattern, struct decision_head *last,
test = new_decision_test (DT_accept_op, &place);
test->u.opno = XINT (pattern, 0);
subpos_ptr = &pos->xvecexp0s;
subpos_ptr = &pos->xexps;
for (i = 0; i < (size_t) XVECLEN (pattern, 1); i++)
{
subpos = next_position (subpos_ptr, pos, POS_XVECEXP0, i);
subpos = next_position (subpos_ptr, pos, POS_XEXP, i);
sub = add_to_sequence (XVECEXP (pattern, 1, i),
&sub->success, subpos, insn_type, 0);
subpos_ptr = &subpos->next;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment