3 ms·
> Instead, it looks like the compiler assumes that the pointers won’t be the same and refuses to let you entertain the possibility at all. and indeed it should
by foxhill 8y ago
> Instead, it looks like the compiler assumes that the pointers won’t be the same and refuses to let you entertain the possibility at all.
and indeed it should - it’s sane to use the address of a stack variable for the purposes of writing something into it, but assuming that it forms some sort of array in memory is sure to cause pain if you rely on that assumption.