]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix gcc.c-torture/compile/libcall-2.c in -m32
authorJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 29 Nov 2023 06:44:59 +0000 (07:44 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 29 Nov 2023 06:44:59 +0000 (07:44 +0100)
This test relies on having __int128 in x86_64 targets, which is only
available in -m64.

gcc/testsuite/ChangeLog

* gcc.c-torture/compile/libcall-2.c: Skip test in -m32.

gcc/testsuite/gcc.c-torture/compile/libcall-2.c

index b33944c83ffb041dfac0803094f3748abf2ab2ff..9b889172025f020674c898a8dc49a71e44bdf682 100644 (file)
@@ -2,6 +2,8 @@
    indirect calls.  */
 
 /* { dg-do compile } */
+/* __int128 is not supported in x86 -m32.  */
+/* { dg-skip-if "" { ! { x86_64-*-* && { ! ilp32 } } } } */
 /* { dg-options "-O2 -mcmodel=large" { target x86_64-*-* } } */
 /* { dg-final { scan-assembler "globl\t__divti3" } } */