Skip test for non-x86 targets.
authorMartin Liska <mliska@suse.cz>
Thu, 26 Mar 2020 09:12:57 +0000 (10:12 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 26 Mar 2020 09:12:57 +0000 (10:12 +0100)
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.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr94271_0.c
gcc/testsuite/gcc.target/i386/pr81213-2.c

index ea31955bbe2142bfe644056aa7cbb67a810d7071..65f32a3eb1d0c9012a1f9602aaadddf399827827 100644 (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
index 2ce7d65411a420bc5c591c644088dded97af2f35..e3c3fa17ea0c2d4e12337098a976e0e2709e9318 100644 (file)
@@ -1,5 +1,7 @@
 /* PR lto/94271 */
+/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */
 /* { dg-lto-do link } */
+/* { dg-require-ifunc "" } */
 
 int a;
 
index a80622cb1845f253ea85b8c7165a981845b6e168..ec9138018ea9abf0b576c0e5338f6fb84bed0d28 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-require-ifunc "" } */
 __attribute__((target_clones("avx","arch=slm","arch=core-avx2","default")))
 static int
 foo ()