Re: [PATCH] forwprop: Fix ICE when building an identity constructor [PR94700]

2020-04-22 Thread Richard Biener via Gcc-patches
On Wed, Apr 22, 2020 at 10:31 AM Richard Sandiford wrote: > > This is really PR94683 part 2, handling the case in which the vector is > an identity and so doesn't need a VEC_PERM_EXPR. I should have realised > at the time that the other arm of the "if" would need the same fix. > > Tested on aarch

[PATCH] forwprop: Fix ICE when building an identity constructor [PR94700]

2020-04-22 Thread Richard Sandiford
This is really PR94683 part 2, handling the case in which the vector is an identity and so doesn't need a VEC_PERM_EXPR. I should have realised at the time that the other arm of the "if" would need the same fix. Tested on aarch64-linux-gnu, aarch64_be-elf and x86_64-linux-gnu. OK to install? Ric