On Fri, Jun 22, 2018 at 11:21 AM Martin Liška <mli...@suse.cz> wrote:
>
> Hello.
>
> Quite obvious patch where I accidentally removed check for:
> if (!targetm.have_casesi () && !targetm.have_tablejump ())
>
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>
> Ready to be installed?

OK.
Richard.

> Martin
>
> gcc/ChangeLog:
>
> 2018-06-21  Martin Liska  <mli...@suse.cz>
>
>         PR tree-optimization/86263
>         * tree-switch-conversion.c (jump_table_cluster::find_jump_tables):
>         Bail out if is_enabled is false.
>         * tree-switch-conversion.h (jump_table_cluster::is_enabled):
>         New declaration.
>         (jump_table_cluster::is_enabled): New function.
> ---
>  gcc/tree-switch-conversion.c |  3 +++
>  gcc/tree-switch-conversion.h | 20 ++++++++++++++++++++
>  2 files changed, 23 insertions(+)
>
>

Reply via email to