Skip to content

Commit

Permalink
rs6000, testcase: Add require-effective-target has_arch_ppc64 to pr10…
Browse files Browse the repository at this point in the history
…6550_1.c

Hi,

With latest trunk, case pr106550_1.c can run with failure on ppc under -m32.
While, the case is testing 64bit constant building. So, "has_arch_ppc64"
is required.

Test pass on ppc64{,le}.

BR,
Jeff (Jiufu Guo)

gcc/testsuite/ChangeLog:

	* gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.
  • Loading branch information
Jiufu Guo authored and ouuleilei-bot committed Nov 6, 2023
1 parent c2d62cd commit 184eab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcc/testsuite/gcc.target/powerpc/pr106550_1.c
Original file line number Diff line number Diff line change
@@ -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. */

Expand Down

0 comments on commit 184eab7

Please sign in to comment.