From 671e85f60bb25f516d6688e60e84182934a2d689 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 Jun 2000 21:15:00 +0000 Subject: [PATCH] Add new test (that breaks ARM backend). From-SVN: r34794 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/compile/20000629-1.c | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/20000629-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f7201e8d927..bbf56f80eb9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-06-29 Nick Clifton + + * gcc.c-torture/compile/20000629-1.c: New test. + 2000-06-29 Zack Weinberg diff --git a/gcc/testsuite/gcc.c-torture/compile/20000629-1.c b/gcc/testsuite/gcc.c-torture/compile/20000629-1.c new file mode 100644 index 00000000000..0ed65a65c25 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20000629-1.c @@ -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++; + } +}