re PR go/59866 (gccgo gc work buffer is misaligned)

PR go/59866
runtime: Force work variable in mgc0 to be aligned on 8-byte boundary.

From-SVN: r206738
This commit is contained in:
Ian Lance Taylor 2014-01-17 22:43:03 +00:00
parent 2043135ab2
commit 6fbfce7841

View File

@ -180,7 +180,7 @@ static struct {
Obj *roots;
uint32 nroot;
uint32 rootcap;
} work;
} work __attribute__((aligned(8)));
enum {
GC_DEFAULT_PTR = GC_NUM_INSTR,