Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/doc/HACKS,v rcsdiff: /ftp/cvs/cvsroot/src/doc/HACKS,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.83 retrieving revision 1.84 diff -u -p -r1.83 -r1.84 --- src/doc/HACKS 2006/07/31 18:39:32 1.83 +++ src/doc/HACKS 2006/08/01 20:21:55 1.84 @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.83 2006/07/31 18:39:32 christos Exp $ +# $NetBSD: HACKS,v 1.84 2006/08/01 20:21:55 drochner Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -757,3 +757,13 @@ port i386 gcc-4 miscompiles this file with -Os and the resulting kernel resets as reported in PR33725 kcah + + hack use volatile intermediate variable to enforce rounding + cdate Tue Aug 1 22:15:55 MEST 2006 + who drochner + file src/lib/libm/src/lrintf.c : 1.4 + file src/lib/libm/src/s_rintf.c : 1.8 + descr + gcc-4 does subsequent operations on "float" values within + the i387 FPU without rounding the intermediate results + kcah