re PR go/61308 (gccgo: ICE in Expression::check_bounds [GoSmith])
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Aug 2014 03:11:17 +0000 (03:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Aug 2014 03:11:17 +0000 (03:11 +0000)
commitb5975cebfbe3666fe53f98e88cfbe6933978895b
tree915b12a29efd7e317841857d2c7277c76f9f8f91
parent6e4f9a957e22aaed58cf628e34d420fdfa21a3d8
re PR go/61308 (gccgo: ICE in Expression::check_bounds [GoSmith])

PR go/61308

compiler: Handle enclosing vars for function type in function lit.

This fixes a dumb bug in which the enclosing vars were
incorrectly cleared when a function literal contains a
reference to a function type.  The test for this will go into
the master repository in the change at
http://codereview.appspot.com/121200043 .

From-SVN: r213618
gcc/go/gofrontend/parse.cc