Displaying 1 result from an estimated 1 matches for "1006178".
Did you mean:
100617
2009 Sep 11
4
[LLVMdev] LLVM-GCC & GV zeroinitializers, 2.5 vs 2.6.
Hello folks,
I have a small piece of C code written like this:
typedef struct {
char a;
int b;
int c;
} foo;
foo myFoo[5] = {{0}};
With llvm-gcc 2.5, I get the following IR:
%struct.foo = type { i8, i32, i32 }
@myFoo = global [5 x %struct.foo] zeroinitializer, align 32
With the current 2.6, I get this:
%0 = type { i8, [11 x i8] }