On Thu, Jan 4, 2018 at 6:46 PM, Jeff Law <l...@redhat.com> wrote: > On 01/04/2018 03:02 AM, Richard Sandiford wrote: >> tree-ssa-forwprop.c was asserting that a VEC_PERM_EXPR fold on three >> VECTOR_CSTs would always succeed, but it's possible for it to fail >> with variable-length vectors. >> >> Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. >> Also tested by comparing the before and after assembly output for at >> least one target per CPU directory. OK to install? >> >> Richard >> >> >> 2018-01-04 Richard Sandiford <richard.sandif...@linaro.org> >> >> gcc/ >> * tree-ssa-forwprop.c (is_combined_permutation_identity): Allow >> the VEC_PERM_EXPR fold to fail. > OK. Ideally we'd have a test which failed here.
Yeah, can't make up an example myself that would fail. Richard. > > jeff