[Bug go/91172] go1: error: control reaches end of non-void function in libgo/go/cmd/cgo/gcc.go

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 15 13:21:00 GMT 2019


--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Sounds like global initializers to me.

Btw, -Wreturn-type isn't a Go FE warning, and it's initialized to -1,
so I wonder why go1 accepts it or has it > 0 (the warning is emitted from

More information about the Gcc-bugs mailing list