From: Rainer Orth Date: Tue, 8 Dec 2020 12:29:26 +0000 (+0100) Subject: testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c X-Git-Tag: releases/gcc-10.3.0~389 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05318fb8a89a166b489fa42f1f04d6c0accccc49;p=thirdparty%2Fgcc.git testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c The new gcc.target/i386/pr98100.c test FAILs on Solaris/x86: FAIL: gcc.target/i386/pr98100.c (test for excess errors) Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr98100.c:6:1: error: the call requires 'ifunc', which is not supported by this target Fixed as follows. Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. 2020-12-07 Rainer Orth gcc/testsuite: * gcc.target/i386/pr98100.c: Require ifunc support. --- diff --git a/gcc/testsuite/gcc.target/i386/pr98100.c b/gcc/testsuite/gcc.target/i386/pr98100.c index 4deda1a498f3..09c2e324fbf5 100644 --- a/gcc/testsuite/gcc.target/i386/pr98100.c +++ b/gcc/testsuite/gcc.target/i386/pr98100.c @@ -1,6 +1,7 @@ /* PR target/98100 */ /* { dg-do compile } */ /* { dg-options "-O2 -mno-avx -fvar-tracking-assignments -g0" } */ +/* { dg-require-ifunc "" } */ __attribute__((target_clones("default","avx2"))) void foo ()