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]

Re: recursive rtl bug


On Tue, 23 Nov 1999, Tom Truscott wrote:

>  /* "gcc -O foo.c" gets a SEGV */
>  void foo(double bar[], double *zp, int n)
>  {
>     int i, j;
> 
>     i = 0;
>     for(j = 0; j < n; j++)
>     {
>        i += j+1;
>        bar[i] *= (1.0 + *zp);
>     }
>  }

Forgot to ask.  Is this OK for the gcc.c-torture/compile?

Bernd


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