mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
fix bug in union size computation
The size of a union is the size of the largest
element aligned with the largest alignment.
For example, the size of the following union is
16, not 13 (as returned before this patch).
union {
char c[13];
int i;
};
This commit is contained in:
parent
81e2fdacc5
commit
9d1c38d695
Loading…
Reference in New Issue
Block a user