* gcc.c-torture/execute/unroll-1.c: New test.
From-SVN: r36236
This commit is contained in:
parent
4598ffe97a
commit
33b35a8dc4
@ -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
|
||||
|
19
gcc/testsuite/gcc.c-torture/execute/unroll-1.c
Normal file
19
gcc/testsuite/gcc.c-torture/execute/unroll-1.c
Normal 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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user