[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 01:07:00 GMT 2014


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

--- Comment #1 from Aleksandr Dobkin <adob321 at gmail dot com> ---
Output I get is:

S1() called
S1() globalvec.size() = 1
main globalvec.size() = 0

tested with g++-4.8 (Ubuntu 4.8.1-2ubuntu1~12.04) 4.8.1



More information about the Gcc-bugs mailing list