Description
Bugzilla Link | 22745 |
Version | 3.5 |
OS | Linux |
Attachments | preprocessed source and run script |
Reporter | LLVM Bugzilla Contributor |
CC | @rotateright |
Extended Description
I'm working on a meshing code and noticed different results on MacBook and Lenovo machines. I think I've traced it to slightly different floating point arithmetic. Per this StackOverflow answer:
I tried compiling with "-O2 -mfpmath=387 -mno-sse", which crashed the clang code generator. Attached is a tarball with the clang output and the temporary files it requested.
I don't actually care so much whether clang can support this obscure combination of flags, what I'm really interested in is what flags do I use to get exactly the same answers on both machines.
I did see that bug 3604 is a possible duplicate, but clang still crashes so I'll submit this bug as a request that it not crash with these flags, instead exit cleanly with a descriptive error.