You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon further investigation, this seems unrelated to #14591. It looks like x is allocated on the heap and we never copy the heap value back to the stack at the end of the function (after deferreturn).
Reduced from a bug in cmd/doc found by @robpike.
/cc @khr @dr2chase
The -ssa=0 behavior is correct: the program should print 1, not 0.
The text was updated successfully, but these errors were encountered: