https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61308
--- Comment #5 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Tue Aug 5 03:10:53 2014 New Revision: 213617 URL: https://gcc.gnu.org/viewcvs?rev=213617&root=gcc&view=rev Log: 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 . Modified: branches/gcc-4_9-branch/gcc/go/gofrontend/parse.cc