[Bug algol68/123847] Uninitialized public string variable in a module
mnabipoor at gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 22:34:46 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123847
--- Comment #2 from Mohammad-Reza Nabipoor <mnabipoor at gnu dot org> ---
Further investigation showed that it has nothing to do with module
initialization.
This is a simpler reproducer (particular program):
(
string s;
string t = (s /= "" | "") + "";
skip
)
It's the else part of `(s /= "" | "")' which is generating a null string,
instead of an empty string.
More information about the Gcc-bugs
mailing list