• Dave Cheney's avatar
    cmd/gc: silence valgrind error · 8883c484
    Dave Cheney authored
    valgrind complained that under some circumstances,
    
        *nr = *nc
    
    was being called when nr and nc were the same *Node. The suggestion my Rémy was to introduce a tmp node to avoid the potential for aliasing in subnode.
    
    R=remyoudompheng, minux.ma, rsc
    CC=golang-dev
    https://golang.org/cl/7780044
    8883c484
cplx.c 8.15 KB