From da2cc59076a4cd9b81c8058dbfae0b4725750c60 Mon Sep 17 00:00:00 2001 From: ro Date: Mon, 6 Jan 2014 13:45:29 +0000 Subject: Correctly require C99 support in avx512f tests * gcc.target/i386/avx512f-vcmppd-2.c: Add -std=c99. Require c99_runtime. * gcc.target/i386/avx512f-vcmpps-2.c: Likewise. * gcc.target/i386/avx512f-vfixupimmpd-2.c: Add -std=gnu99. Require c99_runtime. * gcc.target/i386/avx512f-vfixupimmps-2.c: Likewise. * gcc.target/i386/avx512f-vfixupimmsd-2.c: Likewise. * gcc.target/i386/avx512f-vfixupimmss-2.c: Likewise. * gcc.target/i386/avx512f-vgetmantpd-2.c: Add -std=c99. Require c99_runtime. Make CALC void static. * gcc.target/i386/avx512f-vgetmantps-2.c: Likewise. * gcc.target/i386/avx512f-vgetmantsd-2.c: Add -std=c99. Require c99_runtime. * gcc.target/i386/avx512f-vgetmantss-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206359 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c') diff --git a/gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c b/gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c index 291c0df77e7..3ffab4ee155 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ -/* { dg-options "-mavx512f -O2" } */ +/* { dg-options "-mavx512f -O2 -std=c99" } */ /* { dg-require-effective-target avx512f } */ +/* { dg-require-effective-target c99_runtime } */ #include "avx512f-check.h" #include "avx512f-helper.h" -- cgit v1.2.1