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 #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So in this case here, s1 is being initialized first and then globalvec gets
initialized which changes the size back to 0.


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