-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: internal compiler error: Value live at entry. It shouldn't be. #17596
Comments
(Even) smaller reproducer:
|
Shorter reproducer above.
|
Problematic OAS node is constructed at this stack trace (common to both examples, involves OAS2FUNC going wrong in some special way):
|
We just got this on an http2 trybot run: https://storage.googleapis.com/go-build-log/1e6b12a2/linux-386_7f5f0646.log
/cc @tombergan |
Actually trybot failure is unrelated; the |
Bisecting. |
Bisect says c78d072, which is re-enabling the convI2E optimization. Shall we revert the revert of the revert, @randall77? |
CL https://golang.org/cl/32226 mentions this issue. |
It's related to fncall, line 1834, which (incorrectly with I2E optimization) asserts that an I to E conversion requires a function call. Making the obvious fix clears the compile-time error and also passes all.bash, but generates bad code. |
CL https://golang.org/cl/32184 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +6e02750 Wed Oct 26 02:24:45 2016 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/home/moroz/go"
GOTOOLDIR="/home/moroz/go/pkg/tool/linux_amd64"
GCCGO="/usr/bin/gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build703362554=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
What did you expect to see?
Compiled nsqd
What did you see instead?
The text was updated successfully, but these errors were encountered: