[PATCH] D102715: [AIX] Fix LIT failure on native aix
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 18 19:00:59 PDT 2021
hubert.reinterpretcast added a comment.
>From the comment, it seems the code as-is fails to test the property intended. It seems we want this:
struct packed_chars {
char a : 8, b : 8, c : 8, d : 4;
char e : 8 __attribute__((packed));
char f : 4, g : 8, h : 8, i : 8;
};
extern int o1[sizeof(struct packed_chars) == 8 ? 1 : -1];
extern int o2[__alignof(struct packed_chars) == 4 ? 1 : -1];
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102715/new/
https://reviews.llvm.org/D102715
More information about the cfe-commits
mailing list