https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96373

--- Comment #5 from Andreas Schwab <sch...@linux-m68k.org> ---
> Just note that _all_ floating point operations, not just divisions, can trap
> (without fast-math).  You never know if the user enabled stops for any of
> the FP exceptions (overflow, underflow, inexact, invalid op, div-by-zero). 

You need #pragma STDC FENV_ACCESS ON for that, otherwise it's undefined
behaviour.

Reply via email to