]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: disable inline static init optimization
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 9 Feb 2023 19:13:05 +0000 (02:13 +0700)
committerGopher Robot <gobot@golang.org>
Thu, 9 Feb 2023 19:49:12 +0000 (19:49 +0000)
commitb7736cbceb46d00fb1c8435e5c512635896985b6
tree6e4b874ef221eaf1a209687c059a0764963e6273
parent8ffcd3da93c9f408afaebd06ae8a21f8f770a037
cmd/compile: disable inline static init optimization

There are a plenty of regression in 1.20 with this optimization. This CL
disable inline static init, so it's safer to backport to 1.20 branch.

The optimization will be enabled again during 1.21 cycle.

Updates #58293
Updates #58339
For #58293

Change-Id: If5916008597b46146b4dc7108c6b389d53f35e95
Reviewed-on: https://go-review.googlesource.com/c/go/+/467015
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/base/flag.go
test/fixedbugs/issue56778.go
test/inline.go
test/noinit.go