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]

Bug in array reference (Re: A question on POINTERS_EXTEND_UNSIGNED)


On Sun, Aug 17, 2003 at 12:04:23PM -0700, H. J. Lu wrote:
> One way to solve it is to check if there is an overflow when computing
> array index. We do sign-extension when there is an overflow and zero-
> extension when there is no overflow. Does anyone have some pointers how
> to do it?
> 
> Thanks.
> 

I opened a bug report:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11968

with some analysis.


H.J.


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