annotate gcc/testsuite/gcc.dg/pr81192.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-options "-Os -fdump-tree-pre-details" } */
kono
parents:
diff changeset
2
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
3 #if __SIZEOF_INT__ == 2
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
4 #define unsigned __UINT32_TYPE__
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
5 #define int __INT32_TYPE__
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
6 #endif
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
7
111
kono
parents:
diff changeset
8 unsigned a;
kono
parents:
diff changeset
9 int b, c;
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 static int
kono
parents:
diff changeset
12 fn1 (int p1, int p2)
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 return p1 > 2147483647 - p2 ? p1 : p1 + p2;
kono
parents:
diff changeset
15 }
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 void
kono
parents:
diff changeset
18 fn2 (void)
kono
parents:
diff changeset
19 {
kono
parents:
diff changeset
20 int j;
kono
parents:
diff changeset
21 a = 30;
kono
parents:
diff changeset
22 for (; a;)
kono
parents:
diff changeset
23 for (; c; b = fn1 (j, 1))
kono
parents:
diff changeset
24 ;
kono
parents:
diff changeset
25 }
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 /* { dg-final { scan-tree-dump-times "(?n)find_duplicates: <bb .*> duplicate of <bb .*>" 1 "pre" } } */