[gcc r12-8305] testsuite: Add target requires for ifuncs to mv31.C.

Iain D Sandoe iains@gcc.gnu.org
Thu Apr 28 12:46:14 GMT 2022


https://gcc.gnu.org/g:350fcc7884ba80f38dd1476ae41029c648a5f8b9

commit r12-8305-g350fcc7884ba80f38dd1476ae41029c648a5f8b9
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Apr 28 08:51:48 2022 +0100

    testsuite: Add target requires for ifuncs to mv31.C.
    
    g++.target/i386/mv31.C fails on targets without ifuncs support so add
    the necessary target supports guard.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    gcc/testsuite/ChangeLog:
    
            * g++.target/i386/mv31.C: Add target supports guard for ifuncs.

Diff:
---
 gcc/testsuite/g++.target/i386/mv31.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.target/i386/mv31.C b/gcc/testsuite/g++.target/i386/mv31.C
index 5d8fd1ddf75..70a40f1e28a 100644
--- a/gcc/testsuite/g++.target/i386/mv31.C
+++ b/gcc/testsuite/g++.target/i386/mv31.C
@@ -1,4 +1,5 @@
 // PR c++/104669
+// { dg-require-ifunc "" }
 
 void bar()
 {


More information about the Gcc-cvs mailing list