annotate gcc/testsuite/gcc.dg/guality/pr41447-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do run } */
kono
parents:
diff changeset
2 /* { dg-options "-g" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 #include "guality.h"
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 int a;
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 int
kono
parents:
diff changeset
9 main (int argc, char *argv[])
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 int tmp = a;
kono
parents:
diff changeset
12 int tmp2 = a;
kono
parents:
diff changeset
13 int tmp3;
kono
parents:
diff changeset
14 int res;
kono
parents:
diff changeset
15 GUALCHKVAL (a);
kono
parents:
diff changeset
16 GUALCHKVAL (tmp);
kono
parents:
diff changeset
17 GUALCHKVAL (tmp2);
kono
parents:
diff changeset
18 a = 0;
kono
parents:
diff changeset
19 tmp3 = tmp2;
kono
parents:
diff changeset
20 GUALCHKVAL (a);
kono
parents:
diff changeset
21 GUALCHKVAL (tmp);
kono
parents:
diff changeset
22 GUALCHKVAL (tmp2);
kono
parents:
diff changeset
23 GUALCHKVAL (tmp3);
kono
parents:
diff changeset
24 res = tmp - tmp2 + 1;
kono
parents:
diff changeset
25 return res;
kono
parents:
diff changeset
26 }