diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-07-26 11:08:13 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-07-27 09:41:05 -0700 |
commit | 8939cef9512704dfd18d97ad3e66d6ce233e9452 (patch) | |
tree | 9d7be73b3fd4c744798ac64aa041526599e86c33 /config.guess | |
parent | bc4ed079dc09a62168699227a794ac52a5b6f6a4 (diff) | |
download | gcc-8939cef9512704dfd18d97ad3e66d6ce233e9452.zip gcc-8939cef9512704dfd18d97ad3e66d6ce233e9452.tar.gz gcc-8939cef9512704dfd18d97ad3e66d6ce233e9452.tar.bz2 |
compiler: scan all function literals for escape analysis
We were scanning only function literals with closures, but not all
function literals have closures.
Discovered because compiler failed building 1.15rc1, as there is a
function literal in the runtime package (p1 in hexdumpWords) that has
no closure and, without escape analysis, was forcing a variable to the
heap which is not permitted in the runtime.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/244802
Diffstat (limited to 'config.guess')
0 files changed, 0 insertions, 0 deletions