• Rémy Oudompheng's avatar
    cmd/6g, cmd/8g: skip CONVNOP nodes in bgen. · 0285d2b9
    Rémy Oudompheng authored
    Revision 3ae4607a43ff introduced CONVNOP layers
    to fix type checking issues arising from comparisons.
    The added complexity made 8g run out of registers
    when compiling an equality function in go.net/ipv6.
    
    A similar issue occurred in test/sizeof.go on
    amd64p32 with 6g.
    
    Fixes #7405.
    
    LGTM=khr
    R=rsc, dave, iant, khr
    CC=golang-codereviews
    https://golang.org/cl/78100044
    0285d2b9
issue7405.go 638 Bytes