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

Nuno Lopes nunoplopes at sapo.pt
Thu Jan 17 15:14:52 PST 2008


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