• Russ Cox's avatar
    gc: fix arm build · 77f0bdce
    Russ Cox authored
    Escape analysis was incorrectly assuming that
    functions without bodies don't leak their
    parameters.  This meant that sync/atomic's
    TestAddInt64 was allocating x on its stack,
    and then x was not properly aligned for use
    with the atomic 64-bit instructions.  Obviously
    we should figure out the alignment story on 5g
    too, but this fix is correct and should restore the
    build to 'ok'.
    
    TBR=lvd
    CC=golang-dev
    https://golang.org/cl/4964047
    77f0bdce
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...