]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
missing require target has_arch_ppc64 for pr106550.c
authorJiufu Guo <guojiufu@linux.ibm.com>
Wed, 22 May 2024 02:33:11 +0000 (10:33 +0800)
committerguojiufu <guojiufu@linux.ibm.com>
Thu, 23 May 2024 09:39:03 +0000 (17:39 +0800)
Hi,

Case pr106550.c is testing constant building for 64bit
register. It fails with -m32 without having the expected rldimi.
So, this case requires target of has_arch_ppc64.

Bootstrap and regtest pass on ppc64{,le}.
Is this ok for trunk?

BR,
Jeff(Jiufu) Guo

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr106550.c: Adjust by requiring has_arch_ppc64
effective target. And remove power10_ok.

gcc/testsuite/gcc.target/powerpc/pr106550.c

index 74e395331ab2105494e24e0067d8fcbed81b0231..92b76ac88114cb6bff03febb9c89d88753133d31 100644 (file)
@@ -1,6 +1,6 @@
 /* PR target/106550 */
 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
-/* { dg-require-effective-target power10_ok } */
+/* { dg-require-effective-target has_arch_ppc64 } */
 
 void
 foo (unsigned long long *a)