-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: go1: internal compiler error: in type_index, at go/gofrontend/export.cc:1284 #51291
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
ianlancetaylor
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Feb 21, 2022
Change https://go.dev/cl/405976 mentions this issue: |
Change https://go.dev/cl/406916 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
May 18, 2022
For #51291 Change-Id: If47e4cbf899853ade5050852c3870b9500da4c63 Reviewed-on: https://go-review.googlesource.com/c/go/+/406916 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
xionghul
pushed a commit
to xionghul/gcc
that referenced
this issue
May 19, 2022
When exporting a constant A that is expressed through a constant B from another package, it is necessary to traverse an expression representing the constant A to generate a sequence of type casts from the constant B. Current implementation doesn't collect types of constants contained in such expressions. This change fetches these types. Fixes golang/go#51291 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/405976
realqhc
pushed a commit
to realqhc/gofrontend
that referenced
this issue
Aug 4, 2022
When exporting a constant A that is expressed through a constant B from another package, it is necessary to traverse an expression representing the constant A to generate a sequence of type casts from the constant B. Current implementation doesn't collect types of constants contained in such expressions. This change fetches these types. Fixes golang/go#51291 Change-Id: I0f0922a4fa3dd82c18d8cfce7eb83ed98a642505 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/405976 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@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?
Yes. Also verified with gcc snapshot 20220126.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Build following code.
What did you expect to see?
No error
What did you see instead?
The text was updated successfully, but these errors were encountered: