]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: avoid compiler crash for recursive interface type
authorRobert Griesemer <gri@golang.org>
Mon, 6 May 2019 23:26:15 +0000 (16:26 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 7 May 2019 18:42:17 +0000 (18:42 +0000)
commitdc0388c56513c9ddfa0d84260bbed758a392fc01
tree2983193b1d0be0a74170d84e0e5427b6e4f2e0b0
parent49ad7bc67cbf44688cdc72fab49e9a267d43c037
cmd/compile: avoid compiler crash for recursive interface type

This change is a simple work-around to avoid a compiler crash
and provide a reasonable error message. A future change should
fix the root cause for this problem.

Fixes #23823.

Change-Id: Ifc80d9f4d35e063c378e54d5cd8d1cf4c0d2ec6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/175518
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/gc/align.go
test/fixedbugs/issue23823.go