News for hackers. Stuff that matters.
Re:Checked C by camel-cdr on Thursday December 22, 2022 @04:32AM (#34091526)
About gcc ignoring it: gcc doesn't check array bounds at all, even `int x[2]; x[9] = 1;` doesn't produce a warning.
Re:Checked C by ryao on Thursday December 22, 2022 @08:37AM (#34093054)
Oddly, it does catch it for the static example posted by someone else, but that is the only place where it catches it.