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
This commit is contained in:
Richard Sandiford 2011-05-28 07:38:07 +00:00 committed by Richard Sandiford
parent a6d6659935
commit a601a53a62
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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;