• Russ Cox's avatar
    cmd/gc: return canonical Node* from temp · 334056a7
    Russ Cox authored
    For historical reasons, temp was returning a copy
    of the created Node*, not the original Node*.
    This meant that if analysis recorded information in the
    returned node (for example, n->addrtaken = 1), the
    analysis would not show up on the original Node*, the
    one kept in fn->dcl and consulted during liveness
    bitmap creation.
    
    Correct this, and watch for it when setting addrtaken.
    
    Fixes #7083.
    
    R=khr, dave, minux.ma
    CC=golang-codereviews
    https://golang.org/cl/51010045
    334056a7
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
yacc Loading commit data...