2 /* { dg-options "-O2" } */
6 __attribute__((noinline
, noclone
)) int
7 bar (char *p1
, const char *q
)
10 char *p2
= strchr (p1
, '\0');
12 char *p3
= strchr (p2
, '\0');
21 int res
= bar (buffer
, "foo");
22 if (strcmp (buffer
, "abcdefoox") != 0 || res
!= 9)