Re: [PATCH] Fix PR70022

2017-02-14 Thread Richard Biener
On Tue, 14 Feb 2017, Martin Liška wrote: > Hi. > > As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498#c5, the > hunk in fold-const.c > was not properly applied to GCC 5 branch. I've just tested the branch with > the patch. > > Ready to install the hunk? Sure - not sure how I

Re: [PATCH] Fix PR70022

2017-02-14 Thread Martin Liška
Hi. As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498#c5, the hunk in fold-const.c was not properly applied to GCC 5 branch. I've just tested the branch with the patch. Ready to install the hunk? Thanks, Martin

[PATCH] Fix PR70022

2016-03-01 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2016-03-01 Richard Biener PR middle-end/70022 * fold-const.c (fold_indirect_ref_1): Fix range checking for vector BIT_FIELD_REF extract. * gcc.dg/pr70022.c: New