]> Savannah Git Hosting - gnulib.git/commit
floorf, ceilf tests: Strengthen against compiler optimizations.
authorBruno Haible <bruno@clisp.org>
Fri, 24 Nov 2023 19:02:37 +0000 (20:02 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 08:12:29 +0000 (09:12 +0100)
commita6dab67faf765089c8afae91a40ccce7cc816ef1
tree2dcdcdd382198e5508845ea54d8b850a02cbf9da
parent342fd3e05b4ac3153aea4762743364930ebea4e5
floorf, ceilf tests: Strengthen against compiler optimizations.

Reported by RenĂ© Rebe <rene@t2-project.org>.

* tests/test-floorf1.c (main): Mark my_floorf as 'volatile'.
* tests/test-floorf-ieee.c (main): Likewise.
* tests/test-ceilf1.c (main): Mark my_ceilf as 'volatile'.
* tests/test-ceilf-ieee.c (main): Likewise.
ChangeLog
tests/test-ceilf-ieee.c
tests/test-ceilf1.c
tests/test-floorf-ieee.c
tests/test-floorf1.c