aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/avx-cmpsd-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/avx-cmpss-1.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1e3d9c7..32b066e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/avx-cmpsd-1.c: Add -std=c99.
+ * gcc.target/i386/avx-cmpss-1.c: Likewise.
+
2010-05-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/43207
diff --git a/gcc/testsuite/gcc.target/i386/avx-cmpsd-1.c b/gcc/testsuite/gcc.target/i386/avx-cmpsd-1.c
index ad59f26..65cda0b 100644
--- a/gcc/testsuite/gcc.target/i386/avx-cmpsd-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx-cmpsd-1.c
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
-/* { dg-options "-O2 -mavx" } */
+/* { dg-options "-O2 -mavx -std=c99" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
diff --git a/gcc/testsuite/gcc.target/i386/avx-cmpss-1.c b/gcc/testsuite/gcc.target/i386/avx-cmpss-1.c
index c0cdd68..b2603aa 100644
--- a/gcc/testsuite/gcc.target/i386/avx-cmpss-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx-cmpss-1.c
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
-/* { dg-options "-O2 -mavx" } */
+/* { dg-options "-O2 -mavx -std=c99" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test