https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328
Rolf Eike Beer changed:
What|Removed |Added
CC||eb at emlix dot com
--- Comment #5 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106503
--- Comment #4 from Rolf Eike Beer ---
You are right, but if you switch the if clause a little bit:
if (argc) {
const char junk[] = "abc";
WRITEL(junk + i);
WRITEL("something else");
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106503
--- Comment #1 from Rolf Eike Beer ---
If you turn the "const char []" into a "const char *" in line 21 it works fine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106503
Bug ID: 106503
Summary: "const char []" in local scope never initialized
Product: gcc
Version: 11.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen