On 06/06/2024 15:40, Richard Ball wrote: > The CASE_VECTOR_SHORTEN_MODE query is missing some equals signs > which causes suboptimal codegen due to missed optimisation > opportunities. This patch also adds a test for thumb2 > switch statements as none exist currently. > > gcc/ChangeLog: > PR target/115353 > * config/arm/arm.h (enum arm_auto_incmodes): > Correct CASE_VECTOR_SHORTEN_MODE query. > > gcc/testsuite/ChangeLog: > > * gcc.target/arm/thumb2-switchstatement.c: New test.
OK. R.