diff mbox series

[COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c

Message ID yddblf44guy.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show
Series [COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c | expand

Commit Message

Rainer Orth Dec. 8, 2020, 12:33 p.m. UTC
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.  Installed on
master.

	Rainer

Comments

Eric Botcazou Jan. 17, 2021, 4:24 p.m. UTC | #1
> 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.  Installed on
> master.

Backported into 10 branch as obvious.
diff mbox series

Patch

# HG changeset patch
# Parent  00eb61f16bb6f4eab0547064ee5b74c25add665a
testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c

diff --git a/gcc/testsuite/gcc.target/i386/pr98100.c b/gcc/testsuite/gcc.target/i386/pr98100.c
--- 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 ()