It needs the int128 selector because it uses __int128, and the lp64
selector is the best we can do for -mcmodel=.

2021-03-10  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/testsuite/
        * gcc.target/powerpc/pr98959.c: Add int128 and lp64 selectors.
---
 gcc/testsuite/gcc.target/powerpc/pr98959.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr98959.c 
b/gcc/testsuite/gcc.target/powerpc/pr98959.c
index 9e8523db7b50..e03f1ca2d4fa 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr98959.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr98959.c
@@ -1,4 +1,6 @@
 /* PR target/98959 */
+/* { dg-require-effective-target int128 } */
+/* { dg-require-effective-target lp64 } */  /* for -mcmodel= */
 /* { dg-options "-fno-schedule-insns -O2 -mcmodel=small" } */
 
 /* Verify we do not ICE on the following.  */
-- 
1.8.3.1

Reply via email to