Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: pointless static copy code #17113
package main type I int var ( i int x = I(i) )
Observe that we generate init code to copy i to x, even though x could be entirely staticly initialized.