The test uses target_clones, that requires ifunc support.
Tested on GNU/Linux/x86_64, Solaris/x86 (thanks Rainer), and with a cross to x86_64-elf. Approved by Rainer in the PR. I'm checking it in, trunk only for now. for gcc/testsuite/ChangeLog PR target/107304 * gcc.target/i386/pr107304.c: dg-require ifunc support. --- gcc/testsuite/gcc.target/i386/pr107304.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/i386/pr107304.c b/gcc/testsuite/gcc.target/i386/pr107304.c index 24d68795e7f1c..0043b7b21a32f 100644 --- a/gcc/testsuite/gcc.target/i386/pr107304.c +++ b/gcc/testsuite/gcc.target/i386/pr107304.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O0 -march=tigerlake" } */ +/* { dg-require-ifunc "" } */ #include <stdint.h> -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>