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



--- Comment #2 from anton.katilin at gmail dot com 2012-11-15 14:35:12 UTC ---

An update:



There is no problem when linking statically, i.e. if we do



g++ -m32 -fPIC -O2 *.cpp -static-libstdc++ -static-libgcc -o test-O2.bin



instead of



g++ -m32 -fPIC -O2 *.cpp -o test-O2.bin

Reply via email to