[gccgo] Better panic messages for send/receive on nil channel

Ian Lance Taylor iant@google.com
Tue Aug 31 18:33:00 GMT 2010


Right now a send or receive on a nil channel will give a panic due to a
segmentation violation.  This patch adds checks for the condition and
gives a more relevant panic message.  Committed to gccgo branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1886 bytes
Desc: nil
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100831/1c90b043/attachment.bin>


More information about the Gcc-patches mailing list