On Mon, Aug 2, 2021 at 3:23 PM Ian Lance Taylor wrote: > > The upcoming Go 1.17 release adds two new functions to the unsafe > package: unsafe.Add and unsafe.Slice. These functions must be > implemented in the compiler. This patch implements them for gccgo. > Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed > to mainline. This patch makes unsafe.Add and unsafe.Slice work when they appear in functions that can be inlined across packages. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian