https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91172
--- Comment #1 from Richard Biener ---
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_retu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91172
--- Comment #2 from Ian Lance Taylor ---
That is the function (*Package).gccDebug, which on GCC 7 branch starts on line
1262 of libgo/go/cmd/cgo/gcc.go.
Like Richard I don't understand how you could get that warning. -Wreturn-type
is a C fronte