This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mips address+symbol issue.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]