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

--- Comment #2 from Berni <bseifert at gmx dot at> ---
added test case:
g++ -o test.exe -Os main.cpp weak.cpp
./test.exe
'S'
'S'
'S'

here the result is as expected!

Reply via email to