aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-01-09 23:16:13 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-01-09 23:16:13 +0000
commit9ac55031c41077b7465c64ac80587587709acbba (patch)
tree3e7d48df282ccdaa6a71764e645bc13df07ef05a /gcc/predict.c
parent8080b14f01acf7d3cd3d126ef6a09ccf8a97a6f1 (diff)
downloadgcc-9ac55031c41077b7465c64ac80587587709acbba.zip
gcc-9ac55031c41077b7465c64ac80587587709acbba.tar.gz
gcc-9ac55031c41077b7465c64ac80587587709acbba.tar.bz2
compiler: delay escaping sliced arrays
Arrays that are sliced are set to escape in type checking, very early in compilation. The escape analysis runs later but cannot undo it. This CL changes it to not escape in the early stage. Later the escape analysis will make it escape when needed. Reviewed-on: https://go-review.googlesource.com/85635 From-SVN: r256403
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions