On Thu, Oct 17, 2024 at 2:51 AM Andi Kleen wrote:
>
> From: Andi Kleen
Instead of initializing with -1 can you Init(0) and add OPT_fjump_tables
and OPT_fbit_tests to the default_options_table table in opts.cc,
under OPT_LEVELS_1_PLUS_NOT_DEBUG I'd guess.
Thanks,
Richard.
> gcc/ChangeLog:
>
>
From: Andi Kleen
gcc/ChangeLog:
* common.opt: Enable -fbit-tests and -fjump-tables only at -O1.
* tree-switch-conversion.h (jump_table_cluster::is_enabled):
Dito.
---
gcc/common.opt | 4 ++--
gcc/tree-switch-conversion.h | 5 +++--
2 files changed, 5 inse