Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: broken C.complexfloat and C.complexdouble support? #13402
In cmd/cgo/gcc.go, I see there's code to support C.complexfloat and C.complexdouble, but it doesn't seem to work:
Hm, fixing this leads to:
Apparently the status quo is cgo treats C.complexfloat and complex64 as equivalent (and similarly for C.complexdouble and complex128). Should we be worried that fixing this issue could break Go code that relies on this (seemingly erroneous) behavior?