* gcc.dg/i386-unroll-1.c: New test.

From-SVN: r59361
This commit is contained in:
Eric Botcazou 2002-11-21 22:08:15 +00:00 committed by Eric Botcazou
parent 1c83ea9fd0
commit 75c2b9730d
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
* gcc.dg/i386-unroll-1.c: New test.
2002-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021120-1.c: New test.

View File

@ -0,0 +1,17 @@
/* PR optimization/8599 */
/* { dg-do run { target i?86-*-* } } */
/* { dg-options "-mcpu=k6 -O2 -funroll-loops" } */
extern void exit (int);
void *array[4];
int main ()
{
int i;
for (i = 0; i < 4; i++)
array[i] = 0;
exit (0);
}