cmd/compile: possible infinite recursion in Type.cmp #19869
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
If two of the types in fixedbugs/bug398.go make it into the backend and get passed to Type.cmp, they can cause infinite recursion. See https://go-review.googlesource.com/c/39710/ patch set 3 for a roundabout example.
It is non-obvious how to fix this, because if we detect infinite recursion, how should the types compare?
The text was updated successfully, but these errors were encountered: