compiler: Do not mark unused variables as used inside closures.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Jan 2015 21:29:28 +0000 (21:29 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Jan 2015 21:29:28 +0000 (21:29 +0000)
commit2d8536f61419a898706e351bba964250af57006a
tree2b48fadd2f5cb2e9e9354f1c242d17a3d34362f6
parent039ad4c2f435f8e345e123af8a324c50d1a85c86
compiler: Do not mark unused variables as used inside closures.

Fixes golang/go#6415.

From-SVN: r219916
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/parse.h