[cfe-dev] Question about alignment when the packed struct type's field is accessed.

jingu jingu at codeplay.com
Sun Jun 23 13:15:42 PDT 2013


Hi Richard,

I really appreciate your detailed response. I am finding information 
about this kind of code.

 > How do you propose to fix it?

I have no detailed idea. but I intended to generalize this problem and 
propagate alignment information with some analyses. because clang also 
supports analyses and uses them to issue warnings. It's just brain 
storming phase. Your comment is really helpful for me.

Thanks for your great reponse,
JinGu Kang



More information about the cfe-dev mailing list