This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/61308] gccgo: ICE in Expression::check_bounds [GoSmith]
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Aug 2014 03:11:49 +0000
- Subject: [Bug go/61308] gccgo: ICE in Expression::check_bounds [GoSmith]
- Auto-submitted: auto-generated
- References: <bug-61308-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61308
--- Comment #6 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Aug 5 03:11:17 2014
New Revision: 213618
URL: https://gcc.gnu.org/viewcvs?rev=213618&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:
trunk/gcc/go/gofrontend/parse.cc