1 /* { dg-options "-ftree-loop-distribution" } */
2 extern void abort(void);
3 extern void *memset(void *s
, int c
, __SIZE_TYPE__ n
);
4 extern int memcmp(const void *s1
, const void *s2
, __SIZE_TYPE__ n
);
5 /*extern int printf(const char *format, ...);*/
9 char A
[30], B
[30], C
[30];
16 for (i
= 20; i
-- > 10;) {
23 memset(C
+ 10, 0, 10);
26 /* for (i = 0; i < 30; i++)
27 printf("%d %d %d\n", A[i], B[i], C[i]); */
30 if (memcmp(A
, C
, 30) || memcmp(B
, C
, 30)) abort();