CVSROOT:        /cvs
Module name:    src
Changes by:     marty...@cvs.openbsd.org        2011/04/29 15:37:40

Modified files:
        lib/libm/arch/m88k: fenv.c 

Log message:
Trick GCC (-O2) into actually raising the underflow exception on m88k.

Since the second division operand is a power of two, non-zero,
non-nan, this got optimized (-O2) into multiplication.  As a result
the underflow exception wasn't being raised properly.

Make the second operand a volatile to prevent incorrect optimizations.

OK miod@.

Reply via email to