http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59895

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The order of initializing s1 and globalvec is undefined in C++ and that is the
effect you are seeing.  If s1 and globalvec are declared in the same TU, the
order is defined by the order in the source itself.

Reply via email to