diff options
author | Bruno Haible <bruno@clisp.org> | 2017-08-17 22:15:10 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-08-17 22:15:10 +0200 |
commit | 5408b0e0cd0396ea49aa20907c63568ee9b38688 (patch) | |
tree | 14dccd444e019b69cf585146d7316528b3c65bb8 /tests/test-hypot.h | |
parent | 02a6dd29a629e83e768aea92993027049b2299e0 (diff) | |
download | gnulib-5408b0e0cd0396ea49aa20907c63568ee9b38688.tar.gz |
hypot tests: Fix test failure on FreeBSD 11.0/x86.
* tests/test-hypot.h (test_function): Declare z as 'volatile'.
Diffstat (limited to 'tests/test-hypot.h')
-rw-r--r-- | tests/test-hypot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-hypot.h b/tests/test-hypot.h index cfd0aecc7d..1ee790fcfc 100644 --- a/tests/test-hypot.h +++ b/tests/test-hypot.h @@ -32,7 +32,7 @@ test_function (void) { volatile DOUBLE x; volatile DOUBLE y; - DOUBLE z; + volatile DOUBLE z; /* Overflow. */ x = MAX; |