* gcc.dg/i386-unroll-1.c: New test.
From-SVN: r59361
This commit is contained in:
parent
1c83ea9fd0
commit
75c2b9730d
@ -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.
|
||||
|
17
gcc/testsuite/gcc.dg/i386-unroll-1.c
Normal file
17
gcc/testsuite/gcc.dg/i386-unroll-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user