What version of Go are you using (go version)?
$ go version
go version go1.18.3 linux/amd64
Does this issue reproduce with the latest release?
Yes, this is the latest release
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/shady/.cache/go-build"
GOENV="/home/shady/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/shady/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/shady/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/shady/projects/bug-go/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1859839587=/tmp/go-build -gno-record-gcc-switches"
What did you do?
I tried to compile this repo
What did you expect to see?
I expected it to compile normally.
What did you see instead?
A compiler bug:
# github.com/ShadiestGoat/Go-Bug/profile
profile/matchingNew.go:48:2: internal compiler error: width not calculated: int128
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes, this is the latest release
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
I tried to compile this repo
What did you expect to see?
I expected it to compile normally.
What did you see instead?
A compiler bug: