[cfe-dev] Clang for ARM Cortex A9

Kiran V v.kiran at samsung.com
Sun Jun 27 22:17:32 PDT 2010


Hi,
We are facing a strange problem with Clang compiler (latest version) for ARM Cortex A9.

When we compile our code using arm-linux-gcc compiler, it compiles perfectly and executes perfectly as well.
When we compile using clang compiler, it compiles but during execution we see certain floating point values overflow. The program still finishes execution but the final output is wrong.

However on x86, both Clang and gcc give no errors.
Since the code base is same we suspect that code generation by clang for ARM is not correct. 

Has anyone else faced this problem? Please kindly suggest any solutions.

Thanks and regards,
Kiran.V

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100628/b28e322e/attachment.html>


More information about the cfe-dev mailing list