New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gccgo: fails to parse (<-c) in select statement #20923
Labels
Milestone
Comments
Change https://golang.org/cl/91657 mentions this issue: |
Change https://golang.org/cl/91695 mentions this issue: |
hubot
pushed a commit
to gcc-mirror/gcc
that referenced
this issue
Feb 5, 2018
We used to mishandle `select { case (<-c): }` and friends. The test case for this is https://golang.org/cl/91657. Fixes golang/go#20923 Reviewed-on: https://go-review.googlesource.com/91695 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257374 138bc75d-0d04-0410-961f-82ee72b054a4
gopherbot
pushed a commit
that referenced
this issue
Feb 14, 2018
Updates #20923 Change-Id: Ia1210ea3dec39e5db2521aeafca24d6e731f0c93 Reviewed-on: https://go-review.googlesource.com/91657 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
asiekierka
pushed a commit
to WonderfulToolchain/gcc-ia16
that referenced
this issue
May 16, 2022
We used to mishandle `select { case (<-c): }` and friends. The test case for this is https://golang.org/cl/91657. Fixes golang/go#20923 Reviewed-on: https://go-review.googlesource.com/91695 From-SVN: r257374
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This fails to compile with current gccgo:
The
_, _
isn't needed,case (<-c):
also fails to compile.The text was updated successfully, but these errors were encountered: