2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-strict-aliasing -fstack-protector" } */
4 /* { dg-require-effective-target fstack_protector } */
6 typedef __SIZE_TYPE__
size_t;
7 extern int sscanf (const char *, const char *, ...);
25 extern int f1 (char *, struct C
*);
26 extern void f2 (void *, const char *);
27 extern void f3 (char *, const char *);
28 extern int f4 (int, double *, int);
31 foo (char *a
[], struct O
*b
, int c
, int d
, struct P
*e
, int f
, int *h
,
34 int i
, g
= 7, m
= 0, n
;
39 if (f1 (o
, &j
[g
]) < 0)
45 for (i
= 0; i
< f
; i
++)
46 if ((!b
->o
&& __builtin_strncmp (l
, "abcde", 5) == 0)
47 || (b
->o
&& !b
->o
[c
]))
49 *e
[d
].p4
= *e
[d
].p3
= *e
[d
].p2
= 0;
50 sscanf (l
, "%s %s %[^\n]", e
[d
].p3
, e
[d
].p2
, e
[d
].p4
);
52 for (n
= 0; n
< d
; n
++)
53 for (i
= 0; i
< g
; i
++)
56 if (f4 (h
[i
], k
[i
], e
[n
].p1
) < 0)