https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67976
--- Comment #7 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Fri Nov 20 23:37:48 2015 New Revision: 230688 URL: https://gcc.gnu.org/viewcvs?rev=230688&root=gcc&view=rev Log: PR go/67976 Bring https://codereview.appspot.com/154360045 aka https://go-review.googlesource.com/11658 onto GCC 5 branch. cmd/cgo/out.go: fix go build -compiler gccgo with cgo exported function Fixes issue 8945 by preventing to generate _cgohack_ code when build with gccgo. The _cgohack_ was introduced in https://codereview.appspot.com/3746041 . Modified: branches/gcc-5-branch/libgo/go/cmd/cgo/out.go