annotate gcc/testsuite/gcc.dg/analyzer/pr94732.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 typedef struct { int *a; } S;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 int *f (void);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3 static void g (S *x)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 int *p = x->a;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 p[0] = 0;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 void h (void)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 S x[1];
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 x->a = f ();
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12 g (x);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 }