Build results: qbe

Build results: qbe

[OK] 9d1c38d69547d835f7228651e71e8a7d744c456d

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;
};

OK: build: make

STDOUT

cc main.c
cc util.c
cc parse.c
cc cfg.c
cc mem.c
cc ssa.c
cc alias.c
cc load.c
cc copy.c
cc fold.c
cc live.c
cc sysv.c
cc isel.c
cc spill.c
cc rega.c
cc emit.c
ld obj/qbe


STDERR



OK: test: make check

STDOUT

tools/unit.sh all
abi1.ssa...                                  [ok]
abi2.ssa...                                  [ok]
abi3.ssa...                                  [ok]
abi4.ssa...                                  [ok]
abi5.ssa...                                  [ok]
align.ssa...                                 [ok]
collatz.ssa...                               [ok]
cprime.ssa...                                [ok]
cup.ssa...                                   [ok]
dark.ssa...                                  [ok]
double.ssa...                                [ok]
echo.ssa...                                  [ok]
eucl.ssa...                                  [ok]
euclc.ssa...                                 [ok]
fixarg.ssa...                                [ok]
fpcnv.ssa...                                 [ok]
ldbits.ssa...                                [ok]
ldhoist.ssa...                               [ok]
loop.ssa...                                  [ok]
mandel.ssa...                                [ok]
max.ssa...                                   [ok]
philv.ssa...                                 [ok]
prime.ssa...                                 [ok]
puts10.ssa...                                [ok]
queen.ssa...                                 [ok]
strcmp.ssa...                                [ok]
strspn.ssa...                                [ok]
sum.ssa...                                   [ok]
vararg1.ssa...                               [ok]
vararg2.ssa...                               [ok]

All is fine!


STDERR



OK: clean: make clean

STDOUT

rm -fr obj


STDERR