[cfe-dev] how to set clang to fastmath?

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Wed Aug 6 19:29:18 PDT 2014


In order to compile a software (desmume-svn5045 [1]), I need to set clang to fastmath.
It means that I need to change the floating point math mode I use in clang.
If I do this, we told me that I should not encounter this [2] segmentation fault at runtime.

Do you know what option I must give to clang to set it to fastmath please?
(I don't find the option in the manual [3])

Thank you.
Best regards.

[1] http://desmume.org/
[2] http://pastebin.com/S532SMUL
[3] http://clang.llvm.org/docs/UsersManual.html

More information about the cfe-dev mailing list