1 /* PR middle-end/98190 */
3 /* { dg-options "-O2" } */
5 static int __attribute__((noipa
))
6 foo (const char *p
, const char *q
, const int len
)
8 for (int i
= 0; i
< len
; p
++, q
++, i
++)
12 __builtin_memcpy ((char *) &x
, p
, sizeof x
);
13 __builtin_memcpy ((char *) &y
, q
, sizeof y
);
24 const _Bool buf
[4] = { 1, 0, 0, 0 };
26 register long x4
asm ("x4") = 0xdeadbeefULL
;
27 register long x5
asm ("x5") = 0xcafebabeULL
;
28 asm volatile (""::"r" (x4
), "r" (x5
));
30 if (foo ((char *) &buf
[0], (char *) &buf
[0], 1) != 1)