mips address+symbol issue.

Ian Lance Taylor ian@wasabisystems.com
Fri Jan 23 21:20:00 GMT 2004


cgd@broadcom.com writes:

> (I don't know what the C standard says about this... I thought it had
> issues with accessing an array out of bounds, which this doesn't do.
> the array ends up being accessed with index 0, but how that index is
> calculated is fairly tortuous.)

(My understanding is that the C standard doesn't even permit you to
form the address of an out-of-bounds array access.  Doing so moves you
out of the range of standardized behaviour, and no promises are made.)

Ian



More information about the Binutils mailing list