]> Savannah Git Hosting - gnulib.git/commitdiff
hypot tests: Fix test failure on FreeBSD 11.0/x86.
authorBruno Haible <bruno@clisp.org>
Thu, 17 Aug 2017 20:15:10 +0000 (22:15 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 17 Aug 2017 20:15:10 +0000 (22:15 +0200)
* tests/test-hypot.h (test_function): Declare z as 'volatile'.

ChangeLog
tests/test-hypot.h

index 0d43557cc8fa7d64a5bf1c7ae999db4d9f93af61..916d63b481f080acb07f060d6668b9e71f56d323 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-17  Bruno Haible  <bruno@clisp.org>
+
+       hypot tests: Fix test failure on FreeBSD 11.0/x86.
+       * tests/test-hypot.h (test_function): Declare z as 'volatile'.
+
 2017-08-17  Bruno Haible  <bruno@clisp.org>
 
        float: Fix LDBL_MIN value on FreeBSD/x86.
index cfd0aecc7d76548e8b049affbe50dd017e361fbe..1ee790fcfc62acdf1d8f1afb0dbd52477ea3b26d 100644 (file)
@@ -32,7 +32,7 @@ test_function (void)
   {
     volatile DOUBLE x;
     volatile DOUBLE y;
-    DOUBLE z;
+    volatile DOUBLE z;
 
     /* Overflow.  */
     x = MAX;