Skip to content

'sub' in constant expression is unhandled #2616

@QuLogic

Description

@QuLogic

Running tests (using several patches from #2515) with Go 1.18 fails with:

i64 sub (i64 ptrtoint ([0 x i8]* @"internal/fuzz._ecounters" to i64), i64 ptrtoint ([0 x i8]* @"internal/fuzz._counters" to i64))
panic: unknown constant expr

I think this comes from this bit of code in the fuzzer:

	size := uintptr(unsafe.Pointer(&_ecounters)) - uintptr(addr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions