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