aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/string.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-08-31 02:56:55 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-08-31 02:56:55 +0000
commite7c8f75569e792f81a4f4ceee4e1b20f2544e7a4 (patch)
tree8df5d7cc13e2da84e81cf635d1c6596651a9dae8 /libgo/go/runtime/string.go
parentd24c41ef1a44b72aaf03edc6eb40cae711b27f95 (diff)
downloadgcc-e7c8f75569e792f81a4f4ceee4e1b20f2544e7a4.zip
gcc-e7c8f75569e792f81a4f4ceee4e1b20f2544e7a4.tar.gz
gcc-e7c8f75569e792f81a4f4ceee4e1b20f2544e7a4.tar.bz2
compiler: don't report runtime escapes if we've seen errors
If we get errors during compilation, we skip the escape analysis pass. If we are compiling the runtime package, we report an error if a bound method expression escapes. The effect is that if we get an error while compiling the runtime package, we would report confusing and meaningless errors about bound method expressions escaping. This CL stops doing that. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192720 From-SVN: r275238
Diffstat (limited to 'libgo/go/runtime/string.go')
0 files changed, 0 insertions, 0 deletions