diff mbox

[committed] Fix pr46084.c testcase (PR target/48614)

Message ID 20110415103248.GS17079@tyan-ft48-01.lab.bos.redhat.com
State New
Headers show

Commit Message

Jakub Jelinek April 15, 2011, 10:32 a.m. UTC
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  <jakub@redhat.com>

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


	Jakub
diff mbox

Patch

--- 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" } */