* gcc.dg/loop-1.c: New test.

From-SVN: r31750
This commit is contained in:
Alexandre Oliva 2000-02-02 05:02:47 +00:00 committed by Alexandre Oliva
parent 060d7bc161
commit bd524aa3cf
2 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/loop-1.c: New test.
2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/unused-2.c: New test.

View File

@ -0,0 +1,20 @@
/* Copyright (C) 2000 Free Software Foundation.
Simplified from gcc/fold-const.c
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do compile } */
void
mul_double ()
{
int i, j, *prod;
for (i = 0; i < 4; i++)
{
for (j = 0; j < 4; j++)
{
*prod = 0;
}
}
}