[cfe-dev] clang bug? Miscompilation of array of unsigned long long

Edward Meewis ed at extraordinarymachine.nl
Fri Jul 30 16:26:45 PDT 2010


  On 31-07-10 0:43, Jordy Rose wrote:
> FWIW, I don't see the error on OS X. Did you check the assembly file, to
> make sure it's not LLVM CodeGen's fault? Mine accesses both words of
> globalArray.

Hi Jordy,

Actually I did, but quickly give up.  From what I remember gcc's and 
clang's were different. Both seemed to construct the local variable, but 
reference the array.

Anyway, It's too late now, I'll look into it tomorrow.

-- Ed.



More information about the cfe-dev mailing list