make an intermediate float variable "volatile" on i386 to work around a gcc
commit40d9c87adf8be89a332e121e05886da001925820
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 17 Jun 2007 02:27:53 +0000 (17 02:27 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 17 Jun 2007 02:27:53 +0000 (17 02:27 +0000)
tree20b5346e2486cb4d8524fa6fc9d0becc295e3e2a
parentc51a3c141237f7cfb38c7c0615093b7736495376
make an intermediate float variable "volatile" on i386 to work around a gcc
optimization problem: subsequent add/subs were done inside FPU registers,
with "double" precision, without rounding to "float" in between

Obtained-from:  NetBSD
lib/libm/src/lrintf.c
lib/libm/src/s_rintf.c