public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c
@ 2020-12-08 12:33 Rainer Orth
  2021-01-17 16:24 ` Eric Botcazou
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer Orth @ 2020-12-08 12:33 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

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

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2020-12-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	gcc/testsuite:
	* gcc.target/i386/pr98100.c: Require ifunc support.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: testsuite-i386-pr98100-ifunc.patch --]
[-- Type: text/x-patch, Size: 556 bytes --]

# 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 ()

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c
  2020-12-08 12:33 [COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c Rainer Orth
@ 2021-01-17 16:24 ` Eric Botcazou
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Botcazou @ 2021-01-17 16:24 UTC (permalink / raw)
  To: gcc-patches; +Cc: Rainer Orth, Jakub Jelinek

> 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.

-- 
Eric Botcazou



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-17 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 12:33 [COMMITTED] testsuite: i386: Require ifunc support in gcc.target/i386/pr98100.c Rainer Orth
2021-01-17 16:24 ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).