https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982

Maxim Ostapenko <m.ostapenko at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.ostapenko at samsung dot com

--- Comment #6 from Maxim Ostapenko <m.ostapenko at samsung dot com> ---
The attached testcase works for me with current trunk GCC:

max@max:/tmp/bug$ make
rm -f m *.so
~/install/master/bin/g++ -fuse-ld=gold -g2 -Og -flto -fsanitize=address s.cpp
-shared -o s.so -fPIC
~/install/master/bin/g++ -fuse-ld=gold -g2 -Og -flto -fsanitize=address m.cpp
-o m
max@max:/tmp/bug$ LD_LIBRARY_PATH=/home/max/install/master/lib64 ./m 
initializing library...
done.
thread started.
max@max:/tmp/bug$ echo $?
0

Reply via email to