https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79122
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- Note that the race detector doesn't work at all with gccgo. So while this is a pretty bad error message, the only fix for this bug is going to be to produce a better error message.