diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-11-29 07:44:59 +0100 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-11-29 07:44:59 +0100 |
commit | 4ed0740c6e807460ce79a351094329fdeb551545 (patch) | |
tree | e3a3cb54f301b8b5ede37346559137e228883904 /gcc | |
parent | 99fa0bfd63d97825c4221dcd3123940f1d0e6291 (diff) | |
download | gcc-4ed0740c6e807460ce79a351094329fdeb551545.zip gcc-4ed0740c6e807460ce79a351094329fdeb551545.tar.gz gcc-4ed0740c6e807460ce79a351094329fdeb551545.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/libcall-2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/libcall-2.c b/gcc/testsuite/gcc.c-torture/compile/libcall-2.c index b33944c..9b88917 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" } } */ |