]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix OASWB rewriting in racewalk
authorDavid Chase <drchase@google.com>
Fri, 10 Jun 2016 15:51:46 +0000 (11:51 -0400)
committerDavid Chase <drchase@google.com>
Sun, 12 Jun 2016 23:58:25 +0000 (23:58 +0000)
commit595426c0d903a3686bdfe6d0e8ef268a60c19896
treea0bf2080e27151cd2a74139b1d976339fb28054b
parent2ba3d5fc9661846cc3ef66ffc2b8bf2f91909d73
cmd/compile: fix OASWB rewriting in racewalk

Special case for rewriting OAS inits omitted OASWB, added
that and OAS2FUNC.  The special case cannot be default case,
that causes racewalk to fail in horrible ways.

Fixes #16008.

Change-Id: Ie0d2f5735fe9d8255a109597b36d196d4f86703a
Reviewed-on: https://go-review.googlesource.com/23954
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/racewalk.go
test/fixedbugs/issue16008.go [new file with mode: 0644]