summaryrefslogtreecommitdiff
path: root/lib/libarch
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-04-29 21:37:41 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-04-29 21:37:41 +0000
commit0b05b97e06656f9592abd0da0dec56488e88bf54 (patch)
treeaeadbf032ac6e9ad91a990981a2b1b8667d1290b /lib/libarch
parente2c007b61e4ab4e9e12d9d9ae455a7ffba1a7471 (diff)
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@.
Diffstat (limited to 'lib/libarch')
0 files changed, 0 insertions, 0 deletions