codegen: bad type for init list


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.


This is a known issue having to do with structure initialization (which is unimplemented).

I will be working on this asap...


Ah, ok, thank you!