[Bug c++/59895] Updates to global variables not consistent across translation units when FLTO is enabled

adob321 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 21 05:08:00 GMT 2014


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

--- Comment #4 from Aleksandr Dobkin <adob321 at gmail dot com> ---
(In reply to Andrew Pinski from comment #3)
> So in this case here, s1 is being initialized first and then globalvec gets
> initialized which changes the size back to 0.

Thanks for the explanation. I've verified this does appear to be the case.



More information about the Gcc-bugs mailing list