3 ms·
About gcc ignoring it: gcc doesn't check array bounds at all, even `int x[2]; x[9] = 1;` doesn't produce a warning.
by camel-cdr 4y ago
About gcc ignoring it: gcc doesn't check array bounds at all, even `int x[2]; x[9] = 1;` doesn't produce a warning.
- ryao 4y agoOddly, it does catch it for the static example posted by someone else, but that is the only place where it catches it.