This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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] |
n.0 = (unsigned int)n; T.1 = n.0 * 4;
Compute the byte-offset for the index as an unsigned integer.
Performing the index computation as unsigned looks wrong to me. I suspect this because sizeof(int) is unsigned, but isn't a[-1] acceptable? I can't navigate the C standard well enough to see what it says.
cheers -- Jie
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |