]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix up g++.dg/ext/int128-8.C testcase [PR109560]
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Apr 2023 07:43:04 +0000 (09:43 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 20 Apr 2023 07:48:35 +0000 (09:48 +0200)
The testcase needs to be restricted to int128 effective targets,
it expectedly fails on i386 and other 32-bit targets.

2023-04-20  Jakub Jelinek  <jakub@redhat.com>

PR c++/108099
PR testsuite/109560
* g++.dg/ext/int128-8.C: Require int128 effective target.

(cherry picked from commit bd4a1a547242a924663712ac7a13799433cdf476)

gcc/testsuite/g++.dg/ext/int128-8.C

index 14bbc49f5c352d8c1e7c4d154acd2802a2fc0796..7e909d50873a99fb7f642db54ea435fd588d9dfb 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/108099
-// { dg-do compile { target c++11 } }
+// { dg-do compile { target { c++11 && int128 } } }
 // { dg-options "" }
 
 using u128 = unsigned __int128_t;