This was an oversight on my part. The testcase uses __int128 but
forgot to check if it is compiling for a target that supports that
type.

Mark the testcase as unsupported for non-int128 targets.
Pushed as obvious after run the testcase with and without -m32 on x86_64:
make check-gcc RUNTESTFLAGS="--target_board=unix/-m32 dg.exp=pr123295-1.c"
make check-gcc RUNTESTFLAGS="--target_board=unix dg.exp=pr123295-1.c"

        PR testsuite/123334
gcc/testsuite/ChangeLog:

        * gcc.dg/pr123295-1.c: Require int128.

Signed-off-by: Andrew Pinski <[email protected]>
---
 gcc/testsuite/gcc.dg/pr123295-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr123295-1.c 
b/gcc/testsuite/gcc.dg/pr123295-1.c
index ebb4bc2bdad..9c058d8f8bc 100644
--- a/gcc/testsuite/gcc.dg/pr123295-1.c
+++ b/gcc/testsuite/gcc.dg/pr123295-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile  { target int128 } } */
 /* { dg-options "-Wno-psabi -O1 -g" } */
 
 typedef unsigned long V __attribute__((__vector_size__(64)));
-- 
2.43.0

Reply via email to