Message ID | 87vbgdvnlt.fsf@e105548-lin.cambridge.arm.com |
---|---|
State | New |
Headers | show |
Index: gcc/genrecog.c =================================================================== --- gcc/genrecog.c 2015-04-30 09:06:17.706538299 +0100 +++ gcc/genrecog.c 2015-04-30 12:49:58.689309916 +0100 @@ -1597,7 +1597,8 @@ simplify_tests (state *s) && d->if_statement_p (&label) && label == CONST_INT) if (decision *second = d->first->to->singleton ()) - if (second->test.kind == test::WIDE_INT_FIELD + if (d->test.pos == second->test.pos + && second->test.kind == test::WIDE_INT_FIELD && second->test.u.opno == 0 && second->if_statement_p (&label) && IN_RANGE (int64_t (label),