http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55378
--- Comment #5 from philippe.coustaux at gmail dot com 2012-11-19 06:05:17 UTC --- I have added a #include <fenv.h> and calls to fegetround The return value is 0 in thread or in main. Reproducible with cygwin and mingw