https://llvm.org/svn/llvm-project/cfe/trunk/test/Driver/fast-math.c should help