Add new test (that breaks ARM backend).

From-SVN: r34794
This commit is contained in:
Nick Clifton 2000-06-29 21:15:00 +00:00 committed by Nick Clifton
parent 18ee3d5edb
commit 671e85f60b
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-06-29 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/20000629-1.c: New test.
2000-06-29 Zack Weinberg <zack@wolery.cumb.org>

View File

@ -0,0 +1,16 @@
struct a
{
struct a * x;
};
void
foo (struct a * b)
{
int i;
for (i = 0; i < 1000; i++)
{
b->x = b;
b++;
}
}