1 /* PR tree-optimization/56396 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-options "-O2 -fpic -g" } */
6 struct S
{ char *s
; int z
; };
7 struct T
{ int t
; } *c
, u
;
8 void bar (int, const char *);
11 foo (void *x
, char *y
, int z
)
16 s
.z
= __builtin___sprintf_chk (s
.s
, 1, __builtin_object_size (s
.s
, 2), "Require");
18 bar (u
.t
| c
->t
, "rls");
19 if (foo (x
, s
.s
, s
.z
))