Option -mfix-ut699 changes the set of instructions that can be placed
in the delay slot, preventing the expected insn placement. Skip the
test if the option is present.
Regstrapped on x86_64-linux-gnu, also tested with gcc-14 targeting
leon3-elf with -mfix-ut699. Ok to install?
for gcc/testsuite/ChangeLog
* gcc.target/sparc/sparc-ret-1.c: Skip on -mfix-ut699.
---
gcc/testsuite/gcc.target/sparc/sparc-ret-1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
b/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
index 808e8a98f0e89..ef459c5016e96 100644
--- a/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
+++ b/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-skip-if "no register windows" { *-*-* } { "-mflat" } { "" } } */
+/* { dg-skip-if "prevents expected asm" { *-*-* } { "-mfix-ut699" } { "" } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mcpu=ultrasparc -O" } */
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity
Excluding neuro-others for not behaving ""normal"" is *not* inclusive