------- Comment #5 from ccb at dl dot ac dot uk 2006-03-17 10:13 ------- How do I put this. The apple fenv.h supplied functions "work" by only setting bits in mxcsr (not cw), and then only setting bits 1-6. Problem is that the actual working bits are in 7-12 (as in fpu-387.h). So my little test.f runs with the default mask (all bits on). I get the failure when using gfortran as the mxcsr bits are all set off (same test.f as above, default compilation)
0x37f is cw 0 is cw_sse Floating point exception defalt cw_sse is 0x1f80 . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26712