Skip to content
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: escape analysis ICE on go/defer call to variadic function without variadic arguments #31573

Closed
mdempsky opened this issue Apr 19, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@mdempsky
Copy link
Member

commented Apr 19, 2019

This program crashes with "panic: runtime error: index out of range [0] with length 0" at escape.go:845:

package p

func f(...int) {}

func g() {
	go f()
}

@mdempsky mdempsky self-assigned this Apr 19, 2019

@mdempsky mdempsky added this to the Go1.13 milestone Apr 19, 2019

@gopherbot

This comment has been minimized.

Copy link

commented Apr 19, 2019

Change https://golang.org/cl/173019 mentions this issue: cmd/compile: fix ICE from go/defer call to variadic function

@gopherbot gopherbot closed this in 9f9e17a Apr 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.