You can see this post: https://fortran-lang.discourse.group/t/can-one-design-coding-rules-to-follow-so-that-ffast-math-is-safe/ where I posted a link to a document which has examples of codes that break when -ffast-math
is used, and also how to fix them.
3 Likes