annotate gcc/testsuite/gcc.dg/Wunused-var-2.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900 (2020-05-25)
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-options "-Wunused" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 int
kono
parents:
diff changeset
5 f1 (void)
kono
parents:
diff changeset
6 {
kono
parents:
diff changeset
7 int a;
kono
parents:
diff changeset
8 int b;
kono
parents:
diff changeset
9 int c;
kono
parents:
diff changeset
10 int d;
kono
parents:
diff changeset
11 int e;
kono
parents:
diff changeset
12 a = 1;
kono
parents:
diff changeset
13 b = 2;
kono
parents:
diff changeset
14 c = 3;
kono
parents:
diff changeset
15 d = 4;
kono
parents:
diff changeset
16 e = 5;
kono
parents:
diff changeset
17 return sizeof (a) + ((__typeof (b)) 1) + __alignof__ (c)
kono
parents:
diff changeset
18 + __builtin_choose_expr (1, d, e);
kono
parents:
diff changeset
19 }