]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [ppc] block-cmp-8 should require powerpc64
authorAlexandre Oliva <oliva@adacore.com>
Thu, 8 May 2025 05:17:38 +0000 (02:17 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sat, 10 May 2025 04:30:25 +0000 (01:30 -0300)
gcc.target/powerpc/block-cmp-8.c is an execution test on ilp32.  It
tests for support for the 64-bit ISA in the compiler, but not for the
ability to execute powerpc64 instructions, so the test fails on 32-bit
hardware.  Require powerpc64 instead.

for  gcc/testsuite/ChangeLog

* gcc.target/powerpc/block-cmp-8.c: Require powerpc64
instruction execution support.

gcc/testsuite/gcc.target/powerpc/block-cmp-8.c

index 22a48c8fadfc18c5e1f673052cbbf31570bb1404..0f35dddd3338aa5f1b0245130809ac1c3a38c588 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run { target ilp32 } } */
 /* { dg-options "-O2 -mpowerpc64" } */
-/* { dg-require-effective-target has_arch_ppc64 } */
+/* { dg-require-effective-target powerpc64 } */
 /* { dg-timeout-factor 2 } */
 
 /* Verify memcmp on m32 mpowerpc64 */