• Russ Cox's avatar
    cmd/gc: record &x[0] as taking address of x, if x is an array · 1a3ee679
    Russ Cox authored
    Not recording the address being taken was causing
    the liveness analysis not to preserve x in the absence
    of direct references to x, which in turn was making the
    net test fail with GOGC=0.
    
    In addition to the test, this fixes a bug wherein
            GOGC=0 go test -short net
    crashed if liveness analysis was in use (like at tip, not like Go 1.2).
    
    TBR=ken2
    CC=golang-codereviews
    https://golang.org/cl/64470043
    1a3ee679
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...