]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Disable bit tests in aarch64/pr99988.c
authorFilip Kastl <fkastl@suse.cz>
Sat, 10 May 2025 16:30:23 +0000 (18:30 +0200)
committerFilip Kastl <fkastl@suse.cz>
Sat, 10 May 2025 16:30:23 +0000 (18:30 +0200)
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 <fkastl@suse.cz>
gcc/testsuite/gcc.target/aarch64/pr99988.c

index 7cca4962944616ff24835d497ad6da235daeb0a8..c09ce67c0fa93367097111b1946cb57d703ea56c 100644 (file)
@@ -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();