https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99185
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the error is correct. There is no defined ordering of globalstar between translation units. Can you explain why you think the ordering is defined here?