Skip test for non-x86 targets.

PR testsuite/94334
	* gcc.dg/lto/pr94271_0.c: Skip for non-x86 targets
	and add ifunc effective target.
	* gcc.target/i386/pr81213-2.c: Add ifunc effective target.
This commit is contained in:
Martin Liska 2020-03-26 10:12:57 +01:00
parent 10ea09ee84
commit d6730f0642
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2020-03-26 Martin Liska <mliska@suse.cz>
PR testsuite/94334
* gcc.dg/lto/pr94271_0.c: Skip for non-x86 targets
and add ifunc effective target.
* gcc.target/i386/pr81213-2.c: Add ifunc effective target.
2020-03-26 Jakub Jelinek <jakub@redhat.com>
PR debug/94281

View File

@ -1,5 +1,7 @@
/* PR lto/94271 */
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */
/* { dg-lto-do link } */
/* { dg-require-ifunc "" } */
int a;

View File

@ -1,3 +1,4 @@
/* { dg-require-ifunc "" } */
__attribute__((target_clones("avx","arch=slm","arch=core-avx2","default")))
static int
foo ()