This patch addresses PR15134; we were being too strict with our
checking of alignments for transparent union members. This patch
relaxes the alignment checking rules by only enforcing the diagnostic
when subsequent alignments are more strict than the original
alignment.

I've also added a FIXME to the code to describe at least one of the
ways we're not handling the attribute semantics quite right.

~Aaron

Attachment: TransparentUnion.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to