[gcc(refs/users/aoliva/heads/testme)] testsuite: riscv: pr90838-2.c cannot find 64-bit CTZ on rv32

Alexandre Oliva aoliva@gcc.gnu.org
Sat Jan 31 05:57:09 GMT 2026


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

commit d099c46681ea1d536b0aedaccd4a6ca112383af4
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Sat Jan 31 01:53:08 2026 -0300

    testsuite: riscv: pr90838-2.c cannot find 64-bit CTZ on rv32
    
    riscv32 has never had the 64-bit CTZ intrinsic that the test expects.
    That expectation was likely a mistake.  Drop it.
    
    
    for  gcc/testsuite/ChangeLog
    
            * pr90838-2.c: Drop 64-bit CTZ expectation on riscv32.

Diff:
---
 gcc/testsuite/gcc.dg/pr90838-2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr90838-2.c b/gcc/testsuite/gcc.dg/pr90838-2.c
index a38799866fa8..235a2c83d85a 100644
--- a/gcc/testsuite/gcc.dg/pr90838-2.c
+++ b/gcc/testsuite/gcc.dg/pr90838-2.c
@@ -35,5 +35,4 @@ int ctz4 (unsigned long long x)
 /* { dg-final { scan-tree-dump {= \.CTZ} "forwprop2" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } } */
 /* { dg-final { scan-tree-dump {= \.CTZ} "forwprop2" { target aarch64*-*-* } } } */
 /* { dg-final { scan-tree-dump {= \.CTZ} "forwprop2" { target { rv64 } } } } */
-/* { dg-final { scan-tree-dump {= \.CTZ} "forwprop2" { target { rv32 } } } } */
 /* { dg-final { scan-tree-dump {= \.CTZ} "forwprop2" { target { loongarch64*-*-* } } } } */


More information about the Gcc-cvs mailing list