Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: investigate proper use of Node.copy (reminder issue) #27765
Node.copy doesn't do anything special with Node.Orig. This can cause problems when the original node (n) is modified and n.Orig == n (that is, when n.Orig points to itself).
Making the appropriate change in Node.copy (and remove the special handling outside) appears to introduce failures. Investigate.