https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110796
--- Comment #10 from Thiago Jung Bauermann <thiago.bauermann at linaro dot org> --- (In reply to Francois-Xavier Coudert from comment #8) > (In reply to Richard Earnshaw from comment #6) > > Is the exception status supposed to be in a defined state when the test > > runs? Shouldn't there be a call to feclearexcept (FE_ALL_EXCEPT) at the > > start of the test? > > Isn't the exception status guaranteed to be defined (and not signaling) when > the program starts? > > But adding feclearexcept (FE_ALL_EXCEPT); at the beginning of main() could > not hurt, for sure. I tried adding feclearexcept (FE_ALL_EXCEPT); at the beginning of main() but it didn't make a difference.