]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pragma_cpp_fma.c: Reset default FPU.
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 7 Mar 2016 09:43:48 +0000 (09:43 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 7 Mar 2016 09:43:48 +0000 (10:43 +0100)
2016-03-07  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/arm/pragma_cpp_fma.c: Reset default FPU.

From-SVN: r234021

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pragma_cpp_fma.c

index 182e917ad0eabd9dec15d2de898cf359467accf5..0b5ea5340ee37d03699c021d2d815109b2af1178 100644 (file)
@@ -1,3 +1,7 @@
+2016-03-07  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/arm/pragma_cpp_fma.c: Reset default FPU.
+
 2016-03-07  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/renaming9.ad[sb]: New testcase.
index be63256b84c6f791859ec836fd6bfbc3a79d87ab..c72ea8c73805cb7b6f968373986fc039fb1fc9bc 100644 (file)
@@ -4,6 +4,9 @@
 /* { dg-require-effective-target arm_fp_ok } */
 /* { dg-add-options arm_fp } */
 
+/* Reset fpu to a value compatible with the next pragmas.  */
+#pragma GCC target ("fpu=vfp")
+
 #pragma GCC push_options
 #pragma GCC target ("fpu=crypto-neon-fp-armv8")