[Bug algol68/123847] Uninitialized public string variable in a module
jemarch at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 22:22:58 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123847
--- Comment #1 from Jose E. Marchesi <jemarch at gcc dot gnu.org> ---
Isn't the implicit else-part in the conditional that is not
initialized to empty string? `originator' is not involved in string
concatenation in that expression.
Try:
fputs(fd, (originator /= "" | ": " | "") + msg + "'n"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Algol68
mailing list