aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-01-07 15:07:12 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-01-07 15:13:14 +0100
commitcda313ba6215d20150db6e952ce62138e9127d21 (patch)
treeb6fb46a0a651f53f5c5be8e21bb50868db1f8e73
parentbacaf016aa3f40a7a9a3fd96c4f8bebb5312f6a3 (diff)
downloadgcc-cda313ba6215d20150db6e952ce62138e9127d21.zip
gcc-cda313ba6215d20150db6e952ce62138e9127d21.tar.gz
gcc-cda313ba6215d20150db6e952ce62138e9127d21.tar.bz2
Fixup convert-dfp*.c
The testcases use -save-temps which doesn't play nice with -flto and multilib testing resulting in spurious UNRESOLVED like /usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `./convert-dfp-2.ltrans0.ltrans.o' is incompatible with i386 output The following skips the testcases when using -flto. * gcc.dg/torture/convert-dfp-2.c: Skip with -flto. * gcc.dg/torture/convert-dfp.c: Likewise.
-rw-r--r--gcc/testsuite/gcc.dg/torture/convert-dfp-2.c1
-rw-r--r--gcc/testsuite/gcc.dg/torture/convert-dfp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c b/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c
index 3e4ecb5..f62b471 100644
--- a/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c
+++ b/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-skip-if "" { *-*-* } { "-flto" } } */
/* { dg-require-effective-target float16_runtime } */
/* { dg-require-effective-target dfprt } */
/* { dg-options "-save-temps" } */
diff --git a/gcc/testsuite/gcc.dg/torture/convert-dfp.c b/gcc/testsuite/gcc.dg/torture/convert-dfp.c
index ec13689..a20253d 100644
--- a/gcc/testsuite/gcc.dg/torture/convert-dfp.c
+++ b/gcc/testsuite/gcc.dg/torture/convert-dfp.c
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-skip-if "" { *-*-* } { "-flto" } } */
/* { dg-require-effective-target float16_runtime } */
/* { dg-require-effective-target dfprt } */
/* { dg-options "-save-temps" } */