aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-05-15 13:54:44 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-05-15 06:54:44 -0700
commit75d2d58156dc31e09df91cbb901f2c27edc3fe05 (patch)
tree87cbe658d2115e8377c94a10e17783fab6836190
parentf8dde8af6f4bf8d16fcb12544caef0aad3da56f2 (diff)
downloadgcc-75d2d58156dc31e09df91cbb901f2c27edc3fe05.zip
gcc-75d2d58156dc31e09df91cbb901f2c27edc3fe05.tar.gz
gcc-75d2d58156dc31e09df91cbb901f2c27edc3fe05.tar.bz2
Add -std=c99 to avx-cmpsd-1.c and avx-cmpss-1.c.
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. From-SVN: r159432
-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