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

@OneOfOne OneOfOne commented Aug 17, 2017

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

This comment has been minimized.

Copy link
Member

@ALTree ALTree commented Aug 17, 2017

That would be #14768.

@mvdan

This comment has been minimized.

Copy link
Member

@mvdan mvdan commented Aug 17, 2017

Dup indeed.

@mvdan mvdan closed this 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.