blob: b46f7819b748998c998cc3d4f95fc1cebe16bdfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* PR tree-optimization/84383 */
struct S { char *s; };
void bar (struct S *);
void
foo (int a, char *b)
{
struct S c[4];
bar (c);
__builtin_strncpy (c[a].s, b, 32);
c[a].s[31] = '\0';
bar (c);
}
|