1 /* PR tree-optimization/71707 */
3 /* { dg-options "-O2 -fdump-tree-strlen" } */
10 __attribute__((noinline
, noclone
)) char *
13 char *p
= memcpy (a
, "a", 2) + 1;
14 memcpy (&a
[1], "b", 2);
15 b
= strlen (a
) + strlen (&a
[1]) + strlen (p
);
22 if (foo () != &a
[1] || b
!= 4)
27 /* { dg-final { scan-tree-dump-times "strlen \\(" 0 "strlen" } } */