https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Is the printf before or after main?

If before, then the problem is the order of variables initialized from
different translational units is unspecified and therefore undefined.

If after, then maybe something is changing them.

Reply via email to