+Thu May 13 02:02:46 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * gcc.c-torture/execute/990513-1.c: New test.
+
1999-05-10 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.other/null1.C (g): Add overload for long.
--- /dev/null
+#include <string.h>
+
+void foo (int *BM_tab, int j)
+{
+ int *BM_tab_base;
+
+ BM_tab_base = BM_tab;
+ BM_tab += 0400;
+ while (BM_tab_base != BM_tab)
+ {
+ *--BM_tab = j;
+ *--BM_tab = j;
+ *--BM_tab = j;
+ *--BM_tab = j;
+ }
+}
+
+int main ()
+{
+ int BM_tab[0400];
+ memset (BM_tab, 0, sizeof (BM_tab));
+ foo (BM_tab, 6);
+ if (BM_tab[0] != 6)
+ abort ();
+ return 0;
+}