1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
4 struct S
{ char a
[3]; char b
[5]; } s
= { "abc", "defg" };
7 foo (struct S s
, int a
, int b
)
9 char *p
= (char *) &s
.a
[0];
14 return __builtin_strlen (p
);
20 char *p
= (char *) &s
.a
[0];
25 return __builtin_strlen (p
);
28 /* { dg-final { scan-tree-dump-times "strlen \\\(&s" 2 "fre1" } } */