[cfe-dev] Clang for ARM Cortex A9

John McCall rjmccall at apple.com
Mon Jun 28 00:04:56 PDT 2010


On Jun 27, 2010, at 10:17 PM, Kiran V wrote:
> 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.

It's certainly possible.  It's also possible that your code is doing something invalid and the LLVM optimizers are being more aggressive about exploiting it.  If you can provide a test case, we'll look at it.

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


More information about the cfe-dev mailing list