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: value comparison with interface is broken #40152
Labels
Milestone
Comments
zhsj
added a commit
to zhsj/elvish
that referenced
this issue
Jul 10, 2020
zhsj
added a commit
to zhsj/elvish
that referenced
this issue
Jul 10, 2020
zhsj
added a commit
to zhsj/elvish
that referenced
this issue
Jul 10, 2020
Change https://golang.org/cl/242000 mentions this issue: |
Change https://golang.org/cl/242002 mentions this issue: |
Thanks for reporting this bug. It is now fixed on GCC trunk. |
kraj
pushed a commit
to kraj/gcc
that referenced
this issue
Jul 11, 2020
We were generating it in cases where a boolean expression was converted directly to an empty interface type. Fixes golang/go#40152 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/242002
gopherbot
pushed a commit
that referenced
this issue
Aug 15, 2020
gccgo miscompiled this case. Updates #40152 Change-Id: I8448c155e802e39d8fc7cda4930ce62cb6363ce5 Reviewed-on: https://go-review.googlesource.com/c/go/+/242000 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
same as gc, print "true"
What did you see instead?
print "false"
The text was updated successfully, but these errors were encountered: