|
|
|
|
|
by lelanthran
28 days ago
|
|
> I’ve always assumed access past the end of an array can’t always be detected in C, so I don’t see how those instructions could be eliminated. "Can't always be detected" is jut a different way of saying "Can sometimes be detected". Upon detection, I'd rather that the compiler still emit the instructions, not elide the code altogether. |
|
That does not seem like an improvement if your goal is predictable, consistent behavior.