[Bug tree-optimization/19910] ICE with -ftree-loop-linear

dberlin at dberlin dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 26 16:53:00 GMT 2005


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-04-26 16:51 -------
Subject: Re:  ICE with -ftree-loop-linear

On Tue, 2005-04-26 at 16:24 +0000, reichelt at gcc dot gnu dot org
wrote:
> ------- Additional Comments From reichelt at gcc dot gnu dot org  2005-04-26 16:24 -------
> Reduced testcase, crashes with "-O -ftree-loop-linear":
> 
> ======================================
> int a[3];
> 
> void foo()
> {
>     int i, j;
> 
>     for (i = 1; i >= 0; --i)
>         for (j = i; j >= 0; --j)
>             a[i+j] = 0;
> }
> ======================================
> 
> Error message:
> 
> bug.c: In function 'foo':
> bug.c:4: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
> lambda-code.c:1898
> Please submit a full bug report, [etc.]
> 

Assign this to me, i'll fix it at some point (it has a linear offset
that isn't a simple constant)
> 



-- 


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



More information about the Gcc-bugs mailing list