From afaed441b5b096376afd15cb58c9a8a567fecdcf Mon Sep 17 00:00:00 2001 From: Filip Kastl Date: Sat, 10 May 2025 18:30:23 +0200 Subject: [PATCH] testsuite: Disable bit tests in aarch64/pr99988.c My recent changes to bit-test switch lowering broke pr99988.c testcase. The testcase assumes a switch will be lowered using jump tables. Make the testcase run with -fno-bit-tests. Pushed as obvious. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr99988.c: Add -fno-bit-tests. Signed-off-by: Filip Kastl --- gcc/testsuite/gcc.target/aarch64/pr99988.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/pr99988.c b/gcc/testsuite/gcc.target/aarch64/pr99988.c index 7cca49629446..c09ce67c0fa9 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr99988.c +++ b/gcc/testsuite/gcc.target/aarch64/pr99988.c @@ -1,5 +1,5 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-O2 -mbranch-protection=standard" } */ +/* { dg-options "-O2 -mbranch-protection=standard -fno-bit-tests" } */ /* { dg-final { scan-assembler-times {bti j} 13 } } */ int a; int c(); -- 2.47.2