https://go.godbolt.org/z/G8K79K48G - small
https://go.godbolt.org/z/Yv853E6P3 - long

>go version go1.16 windows/amd64

On the local machine i am executing  go tool compile -S main.go > main.s

in the second case, I see that the compiler sees here a local variable 
entering the code. Why is this happening ? why is such a different code 
generated?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/bd6113cd-43f4-4def-8f5a-849273d0f92en%40googlegroups.com.

Reply via email to