On 12/1/20 12:35 PM, Martin Liška wrote:
> It fixes ICE seen in the PR which is about gswitch statements
> where an index type should be only an integral type.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
>     PR tree-optimization/98084
>     * gimple-if-to-switch.cc (find_conditions): Consider only
>     integral types.
>
> gcc/testsuite/ChangeLog:
>
>     PR tree-optimization/98084
>     * gcc.dg/tree-ssa/pr98084.c: New test.
OK
jeff

Reply via email to