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
cmd/compile: gccgo error: incompatible types in binary expression #51475
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
mengzhuo
changed the title
affected/package: gccgo
cmd/compile: gccgo error: incompatible types in binary expression
Mar 4, 2022
mengzhuo
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Mar 4, 2022
This also can be reproduced in gccgo12.1.0 |
Change https://go.dev/cl/414755 mentions this issue: |
Change https://go.dev/cl/414735 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jun 28, 2022
For #51475 Change-Id: Ie1b27304687225194a323dc8305e5d62578fff4f Reviewed-on: https://go-review.googlesource.com/c/go/+/414755 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
ceseo
pushed a commit
to ceseo/gcc
that referenced
this issue
Jun 28, 2022
realqhc
pushed a commit
to realqhc/gofrontend
that referenced
this issue
Aug 4, 2022
Test case is https://go.dev/cl/414755. Fixes golang/go#51475 Change-Id: Ib4a066c370440339d28a5bb5180a1f032e4fb4f7 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/414735 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
jproberts
pushed a commit
to jproberts/go
that referenced
this issue
Aug 10, 2022
For golang#51475 Change-Id: Ie1b27304687225194a323dc8305e5d62578fff4f Reviewed-on: https://go-review.googlesource.com/c/go/+/414755 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
It is produced by gccgo, I'm not sure.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
go build successfully just as using gc compiler.
Actually if replace
with
It will compile successfully even using gccgo.
What did you see instead?
The text was updated successfully, but these errors were encountered: