https://gcc.gnu.org/g:afaed441b5b096376afd15cb58c9a8a567fecdcf

commit r16-514-gafaed441b5b096376afd15cb58c9a8a567fecdcf
Author: Filip Kastl <fka...@suse.cz>
Date:   Sat May 10 18:30:23 2025 +0200

    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 <fka...@suse.cz>

Diff:
---
 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();

Reply via email to