middle-end/5877: negative offset to array index leads to inefficient code

Janis Johnson janis187@us.ibm.com
Mon Mar 11 08:45:00 GMT 2002


On Sun, Mar 10, 2002 at 07:13:56PM -0000, rodrigc@gcc.gnu.org wrote:
> Synopsis: negative offset to array index leads to inefficient code
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sun Mar 10 11:13:56 2002
> State-Changed-Why:
>     Can you verify if this solves the problem?
>     
>     
>     
>     2002-03-09  Jakub Jelinek  <jakub@redhat.com>
>      
>             PR middle-end/5877
>             * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
>             even for non-representable constants.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5877

Yes, it does.  Thanks, Jakub!

Janis



More information about the Gcc-bugs mailing list