]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Skip pr123295-1.c for non int128 targets [PR123334]
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Wed, 31 Dec 2025 01:23:13 +0000 (17:23 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Wed, 31 Dec 2025 01:27:16 +0000 (17:27 -0800)
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 <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.dg/pr123295-1.c

index ebb4bc2bdad6a7a7ec4d91f8058045df03ccf21f..9c058d8f8bce6098459b53f1250a0b7c2aecda39 100644 (file)
@@ -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)));