]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add another testcase for x86 FLT_EVAL_METHOD
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jan 2016 17:08:04 +0000 (17:08 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jan 2016 17:08:04 +0000 (17:08 +0000)
* gcc.target/i386/pr69225-7.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232331 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr69225-7.c [new file with mode: 0644]

index 43cef533529aeec217d042e4bc5bda9ad518709d..e896dcd5ea1ce62d4f420c04bd332e01381b881d 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/i386/pr69225-7.c: New test.
+
 2016-01-13  Richard Henderson  <rth@redhat.com>
 
        * gcc.dg/tm/memopt-13.c: Update expected function.
diff --git a/gcc/testsuite/gcc.target/i386/pr69225-7.c b/gcc/testsuite/gcc.target/i386/pr69225-7.c
new file mode 100644 (file)
index 0000000..2ca5692
--- /dev/null
@@ -0,0 +1,8 @@
+/* { dg-do compile} */
+/* { dg-options "-msse -mno-sse2 -m80387 -mfpmath=sse" } */
+
+#include <float.h>
+
+#if FLT_EVAL_METHOD != -1
+# error FLT_EVAL_METHOD != -1
+#endif