compiler: Mark non-escaping variables that aren't addressed.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 30 Apr 2015 17:21:29 +0000 (17:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 30 Apr 2015 17:21:29 +0000 (17:21 +0000)
commit66286a53d5f325b1b396d0d590dfa1c6aa51cbca
treed75fffab8c110857e1dcbf84a6bd5bd5aa9bf743
parentfb0cb7fa67a4e267715129fc06185f631904cd86
compiler: Mark non-escaping variables that aren't addressed.

When optimizing allocations, only variables that had their address
taken somewhere in the program were marked as non-escaping.
There are several cases where non-addressed variables might cause
extra allocations.

From-SVN: r222640
gcc/go/gofrontend/escape.cc