]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000,testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c
authorJiufu Guo <guojiufu@linux.ibm.com>
Tue, 7 Nov 2023 07:19:36 +0000 (15:19 +0800)
committerguojiufu <guojiufu@linux.ibm.com>
Tue, 7 Nov 2023 08:14:06 +0000 (16:14 +0800)
With the latest trunk, case pr106550_1.c runs with failure on ppc under -m32.
Previously, this case failed with ICE due to PR111971. Now, this emission is
exposed.
While, the case is testing 64bit constant building. So, "has_arch_ppc64"
is required.

PR target/112340

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.

gcc/testsuite/gcc.target/powerpc/pr106550_1.c

index 7e709fcf9d80a24fdfc1339a0b3359ff2b2bf0e0..5ab40d71a569dc021b7efcea2e99d6d915b75ef8 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/106550 */
 /* { dg-require-effective-target power10_ok } */
+/* { dg-require-effective-target has_arch_ppc64 } */
 /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */
 /* force the constant splitter run after RA: -fdisable-rtl-split1.  */