https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
--- Comment #44 from Patrick Palka ---
(In reply to Szőts Ákos from comment #43)
> Yes, I can agree with this reasoning. However, when you remove either the
> "while" or the "if" statements, the warning disappears. I don't think they
> should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
--- Comment #43 from Szőts Ákos ---
Yes, I can agree with this reasoning. However, when you remove either the
"while" or the "if" statements, the warning disappears. I don't think they
should have any influence on the array_size.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
--- Comment #42 from Patrick Palka ---
(In reply to Szőts Ákos from comment #41)
> A newer example:
>
> int main() {
> bool exists = true;
> int i = 0;
> int sum = 0;
>
> volatile int array_size = 7;
> volatile int array[7];
>
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
Szőts Ákos changed:
What|Removed |Added
CC||szotsaki at gmail dot com
--- Comment #41