> such as not evaluating either the true or false part of an if-statement
Do you mean `if-else if` or `if-else`? Because the second would work and would always short-circuit to else.
Do you mean `if-else if` or `if-else`? Because the second would work and would always short-circuit to else.
if (x < 7)
doSomething();
else
doSomethingElse();
With -ffast-math, the compiler is allowed to call neither doSomething() nor doSomethingElse() if x is nan. Which IMHO is not great.