Hi Devang, > Fix 2008-01-24-StructAlignAndBitFields.c test case. > Bit-field type does not influence struct alignment.
I don't see the point of trying to get the LLVM type to have the same alignment as the gcc type. I think all the code that tries to obtain equal alignment should just be dropped. Who cares if the LLVM type has a different alignment to the gcc type? Surely all that matters is that when we allocate a variable (alloca or global), if the gcc declaration is more aligned than the LLVM type, then we should force the alloca/global to have the gcc alignment. Ciao, Duncan. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits