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

H. J. Lu hjl@lucon.org
Mon Aug 18 18:05:00 GMT 2003


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.



More information about the Gcc mailing list