diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2011-05-28 07:38:07 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-05-28 07:38:07 +0000 |
commit | a601a53a620f8e595c096088825461d19e10964b (patch) | |
tree | 386f2dc7c96af898cf7d781c273c3e185d510a97 /gcc/genrecog.c | |
parent | a6d665993510a9f27dbd892b0e0808dc9e3b9e72 (diff) | |
download | gcc-a601a53a620f8e595c096088825461d19e10964b.zip gcc-a601a53a620f8e595c096088825461d19e10964b.tar.gz gcc-a601a53a620f8e595c096088825461d19e10964b.tar.bz2 |
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
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r-- | gcc/genrecog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 08f63bd..6d92444 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -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; |