* gcc.c-torture/execute/unroll-1.c: New test.

From-SVN: r36236
This commit is contained in:
Catherine Moore 2000-09-07 13:12:24 +00:00 committed by Catherine Moore
parent 4598ffe97a
commit 33b35a8dc4
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-09-07 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/unroll-1.c: New test.
2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
* g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on

View File

@ -0,0 +1,19 @@
inline int
f (int x)
{
return (x + 1);
}
int
main (void)
{
int a = 0 ;
while ( (f(f(f(f(f(f(f(f(f(f(1))))))))))) + a < 12 )
{
a++;
exit (0);
}
if (a != 1)
abort();
}