[Bug c++/107932] weak constant char array not used correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107932 --- Comment #2 from Berni --- added test case: g++ -o test.exe -Os main.cpp weak.cpp ./test.exe 'S' 'S' 'S' here the result is as expected!
[Bug c++/107932] weak constant char array not used correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107932 --- Comment #1 from Berni --- potentially related to bug 107907