2 ms·
That's not the problem. The problem is any other live pointer could point into that array, for all the compiler knows. Unless the array was generated locally an
by jblow 10y ago
That's not the problem.
The problem is any other live pointer could point into that array, for all the compiler knows.
Unless the array was generated locally and never aliased, then if you ever call through some set of procedures that the compiler doesn't have complete visibility into, then it is possible that that code generates a pointer into that array and then uses it.
The compiler has to be VERY conservative.