]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: generate type alg after calling dowidth.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 15 Sep 2014 16:24:16 +0000 (18:24 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 15 Sep 2014 16:24:16 +0000 (18:24 +0200)
commit8d47b0825549b9ec55882e0d2c135048d88734b5
tree93720664f5a7fa78f8097b1d79940f42ea886c53
parentbb431245cc9a464797b9c58fdf066d3969f66384
cmd/gc: generate type alg after calling dowidth.

Previously it might happen before calling dowidth and
result in a compiler crash.

Fixes #8060.

LGTM=dvyukov, rsc
R=golang-codereviews, dvyukov, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/110980044
src/cmd/gc/reflect.c
test/fixedbugs/issue8060.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue8060.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue8060.go [new file with mode: 0644]