2 /* { dg-options "-O2" } */
3 /* { dg-additional-options "-minline-all-stringops" { target { i?86-*-* x86_64-*-* } } } */
5 extern void abort (void);
7 #define MAX_OFFSET (sizeof (long long))
8 #define MAX_COPY (8 * sizeof (long long))
9 #define MAX_EXTRA (sizeof (long long))
11 #define MAX_LENGTH (MAX_OFFSET + MAX_COPY + MAX_EXTRA)
27 for (i
= 0; i
< MAX_LENGTH
; i
++)
30 for (off
= 0; off
< MAX_OFFSET
; off
++)
31 for (len
= 1; len
< MAX_COPY
; len
++)
33 for (i
= 0; i
< MAX_LENGTH
; i
++)
36 p
= __builtin_memcpy (u
.buf
+ off
, A
, len
);
41 for (i
= 0; i
< off
; i
++, q
++)
45 for (i
= 0; i
< len
; i
++, q
++)
49 for (i
= 0; i
< MAX_EXTRA
; i
++, q
++)