[PR107304] note test's ifunc requirement

Message ID orcz94q3db.fsf@lxoliva.fsfla.org
State Accepted
Headers
Series [PR107304] note test's ifunc requirement |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Alexandre Oliva Nov. 30, 2022, 7:59 a.m. UTC
  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(+)
  

Patch

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>