Hacker News new | ask | show | jobs
by jcranmer 886 days ago
https://github.com/llvm/llvm-project/issues/57589

Turn on fast-math, it flips the FTZ/DAZ bit for the entire application. Even if you turned it on for just a shared library!

1 comments

That's only one small part of -ffast-math/-Ofast though and not a very scary one at that.
But it's an example of -ffast-math affecting separately compiled libraries.