From: Jose E. Marchesi Date: Wed, 29 Nov 2023 06:44:59 +0000 (+0100) Subject: testsuite: fix gcc.c-torture/compile/libcall-2.c in -m32 X-Git-Tag: basepoints/gcc-15~4195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ed0740c6e807460ce79a351094329fdeb551545;p=thirdparty%2Fgcc.git testsuite: fix gcc.c-torture/compile/libcall-2.c in -m32 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. --- diff --git a/gcc/testsuite/gcc.c-torture/compile/libcall-2.c b/gcc/testsuite/gcc.c-torture/compile/libcall-2.c index b33944c83ffb..9b889172025f 100644 --- a/gcc/testsuite/gcc.c-torture/compile/libcall-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/libcall-2.c @@ -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" } } */