https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91172
--- 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 pass_warn_function_return).