mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 16:11:30 +08:00
Add second, reversed loop to testcase.
From-SVN: r34812
This commit is contained in:
parent
bece74bdee
commit
996b539fa3
@ -1,3 +1,8 @@
|
||||
2000-06-30 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* gcc.c-torture/compile/20000629-1.c: Add second, reversed, loop
|
||||
to test case.
|
||||
|
||||
2000-06-30 Catherine Moore <clm@cygnus.com>
|
||||
|
||||
* gcc.c-torture/execute/align-1.c: New test.
|
||||
|
@ -14,3 +14,15 @@ foo (struct a * b)
|
||||
b++;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
bar (struct a * b)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 1000; i++)
|
||||
{
|
||||
b->x = b;
|
||||
b--;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user