]> 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 07:50:05 +0000 (08:50 +0100)
commit103b72b097a97e0b51653a74f99c1677acaf7293
tree01cc77d352dbcb5c3801013ad23d67e87d581ff6
parent51ff7c1242903bcc90b35baf5ec2e6a176cf912a
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