]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: riscv: pr90838-2.c cannot find 64-bit CTZ on rv32
authorAlexandre Oliva <oliva@adacore.com>
Sun, 1 Feb 2026 07:35:48 +0000 (04:35 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sun, 1 Feb 2026 07:35:48 +0000 (04:35 -0300)
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

* gcc.dg/pr90838-2.c: Drop 64-bit CTZ expectation on riscv32.

gcc/testsuite/gcc.dg/pr90838-2.c

index a38799866fa88d4003b7c51e4d88509bed49bd7a..235a2c83d85a34077a2dce1d5f42dcdf859e3690 100644 (file)
@@ -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*-*-* } } } } */