aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-11-29 09:16:48 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-11-29 09:31:23 +0100
commit86903dd94e61b6db8ac525f4ae6c266165533c90 (patch)
tree8dff8efeb81aa02fd06a741ba3eb51f0582d1486 /gcc/testsuite
parent77f0e4a02df15ef4e31b144e8e4bc1a0aa76c416 (diff)
downloadgcc-86903dd94e61b6db8ac525f4ae6c266165533c90.zip
gcc-86903dd94e61b6db8ac525f4ae6c266165533c90.tar.gz
gcc-86903dd94e61b6db8ac525f4ae6c266165533c90.tar.bz2
testsuite: move gcc.c-torture/compile/libcall-2.c to gcc.target/i386/libcall-1.c
This patch relocates a test that is really x86 specific, and changes it to use check_effective_target_int128. gcc/testsuite/ChangeLog * gcc.c-torture/compile/libcall-2.c: Remove. * gcc.target/i386/libcall-1.c: Moved from gcc.c-torture/compile/libcall-2.c and adapted to use effective-target for int128_t.
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/gcc.target/i386/libcall-1.c (renamed from gcc/testsuite/gcc.c-torture/compile/libcall-2.c)6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/libcall-2.c b/gcc/testsuite/gcc.target/i386/libcall-1.c
index 9b88917..8bd6684 100644
--- a/gcc/testsuite/gcc.c-torture/compile/libcall-2.c
+++ b/gcc/testsuite/gcc.target/i386/libcall-1.c
@@ -1,10 +1,8 @@
/* Make sure that external refences for libcalls are generated even for
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-do compile { target int128 } } */
+/* { dg-options "-O2 -mcmodel=large" } */
/* { dg-final { scan-assembler "globl\t__divti3" } } */
__int128 a, b; void foo () { a = a / b; }