Hi!

This testcase doesn't use avx-check.h and is dg-do run testcase,
as it is compiled with -mavx whenever it emits any AVX instructions,
it won't be able to run on any older CPUs.

Fixed thusly, committed to trunk/4.6.

2011-04-15  Jakub Jelinek  <ja...@redhat.com>

        PR target/48614
        * gcc.target/i386/pr46084.c: Require avx_runtime instead of
        just avx.

--- gcc/testsuite/gcc.target/i386/pr46084.c.jj  2011-04-15 08:11:00.493464611 
+0200
+++ gcc/testsuite/gcc.target/i386/pr46084.c     2011-04-15 08:08:50.282146043 
+0200
@@ -1,7 +1,7 @@
 /* This test needs to use setrlimit to set the stack size, so it can
    only run on Unix.  */
 /* { dg-do run { target *-*-linux* *-*-solaris* *-*-darwin* } } */
-/* { dg-require-effective-target avx } */
+/* { dg-require-effective-target avx_runtime } */
 /* { dg-require-effective-target split_stack } */
 /* { dg-options "-fsplit-stack -O2 -mavx" } */
 

        Jakub

Reply via email to