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: allow inlining simple functions that use for. #21490

Closed
OneOfOne opened this issue Aug 17, 2017 · 2 comments
Closed

cmd/compile: allow inlining simple functions that use for. #21490

OneOfOne opened this issue Aug 17, 2017 · 2 comments

Comments

@OneOfOne
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

Go 1.8, 1.9rc2, master.

What operating system and processor architecture are you using (go env)?

amd64

What did you do?

https://play.golang.org/p/jGYlhKirNX

go build -gcflags "-m -m"

What did you expect to see?

./blah.go:8:6: can inline Fnv32

What did you see instead?

./blah.go:8:6: cannot inline Fnv32: unhandled op for
./blah.go:18:6: can inline Fnv32Inline ..........

I feel like this a dup and I apologize if it is, my searching skills have failed me.

@josharian @dr2chase @randall77

@ALTree
Copy link
Member

ALTree commented Aug 17, 2017

That would be #14768.

@mvdan
Copy link
Member

mvdan commented Aug 17, 2017

Dup indeed.

@mvdan mvdan closed this as completed Aug 17, 2017
@golang golang locked and limited conversation to collaborators Aug 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants