summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-06 13:45:29 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-06 13:45:29 +0000
commitda2cc59076a4cd9b81c8058dbfae0b4725750c60 (patch)
tree1efbbd8c7f21aff4346aae21b897bee3eaac2404 /gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c
parent2eaa25afb982e345510e2eade6ac449dd39abdbf (diff)
downloadgcc-da2cc59076a4cd9b81c8058dbfae0b4725750c60.tar.gz
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
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c3
1 files changed, 2 insertions, 1 deletions
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"