Re: [PATCH] Fix ICE in tree-switch-conversion.

2020-09-21 Thread Richard Biener via Gcc-patches
On Mon, Sep 21, 2020 at 12:53 PM Martin Liška wrote: > > With SVE we can end up with: > switch (POLY_INT_CST [2, 2]) [INV], case 2: [INV], case > 4: [INV]> > which is fine to expand and we can remove the assert. > > Ready to be installed? OK. Richard. > Thanks, > Martin > > gcc/ChangeLog: >

[PATCH] Fix ICE in tree-switch-conversion.

2020-09-21 Thread Martin Liška
With SVE we can end up with: switch (POLY_INT_CST [2, 2]) [INV], case 2: [INV], case 4: [INV]> which is fine to expand and we can remove the assert. Ready to be installed? Thanks, Martin gcc/ChangeLog: PR tree-optimization/96915 * tree-switch-conversion.c (switch_conversion: