From: Richard Biener Date: Tue, 7 Jan 2025 14:07:12 +0000 (+0100) Subject: Fixup convert-dfp*.c X-Git-Tag: basepoints/gcc-16~2902 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda313ba6215d20150db6e952ce62138e9127d21;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c b/gcc/testsuite/gcc.dg/torture/convert-dfp-2.c index 3e4ecb57ba64..f62b47159128 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 ec136896ca7b..a20253dd75b7 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" } */