On Fri, Aug 5, 2011 at 3:06 PM, H.J. Lu <hongjiu...@intel.com> wrote: > Hi, > > I checked in this patch to add a testcase for PR middle-end/47364. > > H.J. > --- > Index: gcc.target/i386/pr47364-1.c > =================================================================== > --- gcc.target/i386/pr47364-1.c (revision 0) > +++ gcc.target/i386/pr47364-1.c (revision 0) > @@ -0,0 +1,12 @@ > +/* { dg-do compile } */ > +/* { dg-options "-O" } */ > + > +static unsigned char foo[256]; > + > +arc4_init(void) > +{ > + int n; > + > + for (n = 0; n < 256; n++) > + foo[n] = n; > +}
This testcase looks like it could go into c-torture/compile directory instead of a target specific directory. Thanks, Andrew Pinski