Go patch committed: Fix select setting map index
Ian Lance Taylor
iant@google.com
Tue Mar 29 19:37:00 GMT 2011
This patch to the Go frontend fixes the case where a select clause sets
a map index. For a map index we need to know whether it is an lvalue or
not, and the code forgot to set that. This patch also fixes the parsing
of a select clause for a case like
case v := <- r
when there are no statements.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 2210 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110329/d4afeecd/attachment.bin>
More information about the Gcc-patches
mailing list