[Bug c++/107907] New: weak integer constant not linked correctly

2022-11-29 Thread bseifert at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107907 Bug ID: 107907 Summary: weak integer constant not linked correctly Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/107932] New: weak constant char array not used correctly

2022-11-30 Thread bseifert at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107932 Bug ID: 107932 Summary: weak constant char array not used correctly Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/107932] weak constant char array not used correctly

2022-11-30 Thread bseifert at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107932 --- Comment #1 from Berni --- potentially related to bug 107907

[Bug c++/107932] weak constant char array not used correctly

2022-11-30 Thread bseifert at gmx dot at via Gcc-bugs
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!