mips address+symbol issue.

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


cgd@broadcom.com writes:

> At 23 Jan 2004 16:20:27 -0500, Ian Lance Taylor wrote:
> > (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.)
> 
> FWIW, looking at the test case, and not being a language lawyer, i
> don't know that it *does* form the address of an out-of-bounds array
> access.

You're right.  My error.  This probably ought to work.

Still, I don't think many people write code this way.

Ian



More information about the Binutils mailing list