]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix pr99782-1.c for targets that don't support int128
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 5 Dec 2025 21:30:49 +0000 (13:30 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 5 Dec 2025 21:32:46 +0000 (13:32 -0800)
When I wrote this testcase I forgot to check if the target
supports __int128. This adds the simple check.

Pushed as obvious after testing the testcase.

gcc/testsuite/ChangeLog:

* gcc.dg/torture/pr99782-1.c: Require intt128 target.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.dg/torture/pr99782-1.c

index 76aab18f3618fc18a91943719c260597170eac76..bee439ce5046b932cea622d0e698355e1d2d4ce8 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-compile } */
+/* { dg-require-effective-target int128 } */
 /* { dg-additional-options "-mapxf" { target { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } */
 /* PR middle-end/99782 */