|
gc: align structs according to max alignment of fields
cc: same
runtime: test cc alignment (required moving #define of offsetof to runtime.h)
fix bug260
Fixes issue 482.
Fixes issue 609.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -91 lines) |
Patch |
 |
M |
src/cmd/5c/swt.c
|
View
|
1
2
3
|
5 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/cmd/5c/txt.c
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/cmd/6c/cgen.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/6c/swt.c
|
View
|
|
5 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/cmd/6c/txt.c
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/cmd/8c/cgen64.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/8c/swt.c
|
View
|
1
2
3
|
5 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/cmd/8c/txt.c
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/cc.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/cc/dcl.c
|
View
|
|
8 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/pgen.c
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/pswt.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/gc/align.c
|
View
|
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/typecheck.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/reflect/value.go
|
View
|
|
4 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/debug.go
|
View
|
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/hashmap.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/malloc.goc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/runtime.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/runtime.c
|
View
|
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/fixedbugs/bug260.go
|
View
|
1
2
|
4 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/golden.out
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 3
|