[cfe-dev] codegen: bad type for init list

Nuno Lopes nunoplopes at sapo.pt
Thu Jan 17 15:39:22 PST 2008


Ah, ok, thank you!
Nuno

----- Original Message -----
> This is a known issue having to do with structure initialization  
> (which is unimplemented).
> 
> I will be working on this asap...
> 
> snaroff
> 
> On Jan 17, 2008, at 3:14 PM, Nuno Lopes wrote:
> 
>> Hi,
>>
>> I was trying to compile PHP with clang, but clang crashes in the  
>> first file.
>> The following code triggers an assertion when clang is called
>> with -emit-llbm-bc:
>>
>> typedef union { unsigned char __c[8]; double __d; } __huge_val_t;
>> static __huge_val_t __huge_val = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
>>
>> The code is from the bits/huge_val.h file.
>>
>> Nuno



More information about the cfe-dev mailing list