summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 22:43:03 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 22:43:03 +0000
commit1f6122a81043c9f4830dea552828a5dbe3f719de (patch)
tree50fa57bb31e2134bc971c504a8c1ab41ad62f545 /libgo
parentf3898655d124aab58391b6548f3d3953158c0926 (diff)
downloadgcc-1f6122a81043c9f4830dea552828a5dbe3f719de.tar.gz
PR go/59866
runtime: Force work variable in mgc0 to be aligned on 8-byte boundary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/mgc0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/mgc0.c b/libgo/runtime/mgc0.c
index 8ceece37b5a..d5ce9c883b1 100644
--- a/libgo/runtime/mgc0.c
+++ b/libgo/runtime/mgc0.c
@@ -180,7 +180,7 @@ static struct {
Obj *roots;
uint32 nroot;
uint32 rootcap;
-} work;
+} work __attribute__((aligned(8)));
enum {
GC_DEFAULT_PTR = GC_NUM_INSTR,