Build results: qbe.freebsd

Build results: qbe.freebsd

[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: gmake

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: gmake 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

cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'
cc: warning: argument unused during compilation: '-nopie'


OK: clean: gmake clean

STDOUT

rm -fr obj


STDERR