Skip to content

cmd/6g: use of invalid LEAQ $0, SI instruction #3670

@petar

Description

@petar
hg id = 40632db23c46 tip

Source:

package main
import (
        "fmt"
        "reflect"
)
type XY interface {}
func main() {
        fmt.Println(reflect.TypeOf(XY(nil)))
}

Output:

$ go run file.go
# command-line-arguments
main.main: doasm: notfound from=75 to=16 (8)    LEAQ    $0,SI

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions