Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: internal compiler error: panic during lower (part 2) #30257
The following program:
Crashes the tip and the 1.12rc1 compilers, when built for
The crash appears to be the related to the one previously reported as #29215.
Go 1.11 compiles it fine. So it is a regression. I think we should fix this in Go 1.12.
It panics in cmd/compile/internal/ssa.read8, which already guards off>=len:
So how can this happen? off is negative?