Go patch committed: Check for mismatch between results and uses

Ian Lance Taylor iant@google.com
Fri Jul 18 22:12:00 GMT 2014


The Go frontend had a bug in that it would not give an error for
    a, b := F()
when F returned more than two results.  This patch fixes the bug.  I've
proposed a test case for the master testsuite in
http://codereview.appspot.com/111360045 .  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: 4421 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140718/4c191125/attachment.bin>


More information about the Gcc-patches mailing list