https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-11 Component|bootstrap |target Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Are you sure this is not a bug ing clang-9.0 ? These variables are declared in the header but never referenced. Did something in clang that would produce references to extern variables that are not referenced otherwise except for the declarations?