News for hackers. Stuff that matters.
Re:Optimizations Enabled by -ffast-Math by hurrrrrrrr on Wednesday October 20, 2021 @08:24AM (#28929806)
>Certainly do not use finite-math-only when dealing with external data.

so... never?

Re:Optimizations Enabled by -ffast-Math by gpderetta on Wednesday October 20, 2021 @09:38AM (#28930522)
let me rephrase: data which you cannot guarantee meet the preconditions. Either the input is known good data or you sanitize it through some code path not compiled with fast-math.