This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]