This is the mail archive of the gcc-patches@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]

Re: [PATCH] fold &b[1] == &b[1U]


On Mon, Feb 14, 2005 at 10:50:40AM +0100, Richard Guenther wrote:
> So, is it correct to always cast ARRAY_REF offsets to unsigned?

No.  Ideally the type of the index would always match the type
of the domain.


r~


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