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

Steve Naroff snaroff at apple.com
Thu Jan 17 15:32:51 PST 2008


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
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list