[LLVMdev] LLVM-GCC & GV zeroinitializers, 2.5 vs 2.6.

Duncan Sands baldrick at free.fr
Fri Sep 11 00:22:59 PDT 2009


Hi Julien Lerouge,

> I have a small piece of C code written like this:
> 
>     typedef struct {
>         char a;
>         int b;
>         int c;
>     } foo;

>     %0 = type { i8, [11 x i8] }

I guess it wants to initialize the alignment padding to zero.  Anyway,
it sure looks like a bug/inefficiency.  Please open a bugreport.

Ciao,

Duncan.



More information about the llvm-dev mailing list