* gcc.c-torture/compile/20000803-1.c: New test.
authorJeffrey A Law <law@cygnus.com>
Thu, 3 Aug 2000 07:46:44 +0000 (07:46 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 3 Aug 2000 07:46:44 +0000 (01:46 -0600)
From-SVN: r35447

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20000803-1.c [new file with mode: 0644]

index 2a49bd9419931858af6997a742117792af9f7b47..d2a731611a749f6249731fde0cb3d342ff3e4972 100644 (file)
@@ -1,3 +1,7 @@
+Thu Aug  3 01:46:33 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * gcc.c-torture/compile/20000803-1.c: New test.
+
 2000-08-03  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000803-1.c b/gcc/testsuite/gcc.c-torture/compile/20000803-1.c
new file mode 100644 (file)
index 0000000..08b50a9
--- /dev/null
@@ -0,0 +1,11 @@
+static int      gl_cnt = 0;
+static char     gl_buf[1024];
+
+void
+gl_yank()
+{
+  int  i;
+
+  for (i=gl_cnt; i >= 0; i--)
+    gl_buf[i+10] = gl_buf[i];
+}