]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr45085.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wuninitialized" } */
3 struct S
{ char *s1
; long s2
; };
4 struct T
{ int t1
; long t2
; long t3
; };
6 extern int fn3 (struct T
);
7 extern struct T
fn4 ();
8 extern int fn5 (char **, long *, int);
9 extern void fn6 (void);
10 extern void fn7 (void *);
17 fn8 (struct T x
, int y
)
19 struct S
*u
= fn10 ();
20 int v
= fn5 (&u
->s1
, &u
->s2
, 0);
29 v
= fn5 (&u
->s1
, &u
->s2
, 1);
34 fn9 (struct T x
, int y
)
36 struct T t
= fn8 (x
, y
);