This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Go patch committed: Use correct value in 2-case select send


This Go frontend patch by Cherry Zhang fixes the 2-case select send.
In the channel-send case, the value to be sent may needs an (implicit)
type conversion to the channel element type.  This patch ensures that
we use the correct value type for the send.  This fixes
https://golang.org/issue/33235.  Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.  Committed to mainline.

Ian

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]