https://gcc.gnu.org/g:e11a42b8c7ac32f8a1e307f99719a0f9c63813e8

commit r14-10283-ge11a42b8c7ac32f8a1e307f99719a0f9c63813e8
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Tue Jun 4 13:33:46 2024 +0200

    testsuite: i386: Require ifunc support in gcc.target/i386/avx10_1-25.c etc.
    
    Two new AVX10.1 tests FAIL on Solaris/x86:
    
    FAIL: gcc.target/i386/avx10_1-25.c (test for excess errors)
    FAIL: gcc.target/i386/avx10_1-26.c (test for excess errors)
    
    Excess errors:
    
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/avx10_1-25.c:6:9: 
error: the call requires 'ifunc', which is not supported by this target
    
    Fixed by requiring ifunc support.
    
    Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.
    
    2024-06-04  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
    
            gcc/testsuite:
            * gcc.target/i386/avx10_1-25.c: Require ifunc support.
            * gcc.target/i386/avx10_1-26.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.target/i386/avx10_1-25.c | 1 +
 gcc/testsuite/gcc.target/i386/avx10_1-26.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.target/i386/avx10_1-25.c 
b/gcc/testsuite/gcc.target/i386/avx10_1-25.c
index 73f1b724560..5bd2b88fb08 100644
--- a/gcc/testsuite/gcc.target/i386/avx10_1-25.c
+++ b/gcc/testsuite/gcc.target/i386/avx10_1-25.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mavx" } */
+/* { dg-require-ifunc "" } */
 
 #include <immintrin.h>
 __attribute__((target_clones ("default","avx10.1-256")))
diff --git a/gcc/testsuite/gcc.target/i386/avx10_1-26.c 
b/gcc/testsuite/gcc.target/i386/avx10_1-26.c
index 514ab57a406..cf8c976e21f 100644
--- a/gcc/testsuite/gcc.target/i386/avx10_1-26.c
+++ b/gcc/testsuite/gcc.target/i386/avx10_1-26.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mavx512f" } */
+/* { dg-require-ifunc "" } */
 
 #include <immintrin.h>
 __attribute__((target_clones ("default","avx10.1-512")))

Reply via email to