Commit 7a1238d1 by Martin Liska Committed by Martin Liska

Add dg-require ifunc for mvc test-cases.

2017-07-04  Martin Liska  <mliska@suse.cz>

	PR ipa/81214
	* g++.dg/ext/mvc2.C: Add dg-require ifunc.
	* g++.dg/ext/mvc3.C: Likewise.
	* gcc.target/i386/mvc2.c: Likewise.
	* gcc.target/i386/mvc3.c: Likewise.

From-SVN: r249949
parent 8e3b9bbf
2017-07-04 Martin Liska <mliska@suse.cz>
PR ipa/81214
* g++.dg/ext/mvc2.C: Add dg-require ifunc.
* g++.dg/ext/mvc3.C: Likewise.
* gcc.target/i386/mvc2.c: Likewise.
* gcc.target/i386/mvc3.c: Likewise.
2017-07-04 Jakub Jelinek <jakub@redhat.com> 2017-07-04 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp1z/decomp1.C: Expect structured binding instead of * g++.dg/cpp1z/decomp1.C: Expect structured binding instead of
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-ifunc "" } */
__attribute__((target_clones("avx","arch=slm","default"))) __attribute__((target_clones("avx","arch=slm","default")))
__attribute__((target("avx"))) __attribute__((target("avx")))
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-ifunc "" } */
__attribute__((target("avx"))) __attribute__((target("avx")))
__attribute__((target_clones("avx","arch=slm","default"))) __attribute__((target_clones("avx","arch=slm","default")))
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-ifunc "" } */
__attribute__((target_clones("avx","arch=slm","arch=core-avx2"))) __attribute__((target_clones("avx","arch=slm","arch=core-avx2")))
int foo (); int foo ();
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-ifunc "" } */
__attribute__((target_clones("avx","arch=slm","arch=core-avx2"))) __attribute__((target_clones("avx","arch=slm","arch=core-avx2")))
int foo (); /* { dg-error "default target was not set" } */ int foo (); /* { dg-error "default target was not set" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment