Change c <- v from an expression to a statement.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 24 Mar 2011 00:01:44 +0000 (00:01 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 24 Mar 2011 00:01:44 +0000 (00:01 +0000)
commit27a19c584743458ee775ef5e0af5d0e32a465f06
tree4cb70d5d25eafaf22a09b592159852d8ae95b17f
parente110e232b6f7bbd3b4315161373f61623204d2b4
Change c <- v from an expression to a statement.

Don't do anything special if we don't use the value of <-c.
Fix sending an untyped constant in a select statement.

From-SVN: r171371
15 files changed:
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/parse.h
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h
gcc/testsuite/go.test/test/chan/nonblock.go
gcc/testsuite/go.test/test/chan/perm.go
gcc/testsuite/go.test/test/closedchan.go
gcc/testsuite/go.test/test/fixedbugs/bug069.go
gcc/testsuite/go.test/test/fixedbugs/bug196.go
gcc/testsuite/go.test/test/fixedbugs/bug234.go
gcc/testsuite/go.test/test/fixedbugs/bug242.go
gcc/testsuite/go.test/test/named1.go