111
|
1 /* { dg-options "-Os -fdump-tree-pre-details" } */
|
|
2
|
131
|
3 #if __SIZEOF_INT__ == 2
|
|
4 #define unsigned __UINT32_TYPE__
|
|
5 #define int __INT32_TYPE__
|
|
6 #endif
|
|
7
|
111
|
8 unsigned a;
|
|
9 int b, c;
|
|
10
|
|
11 static int
|
|
12 fn1 (int p1, int p2)
|
|
13 {
|
|
14 return p1 > 2147483647 - p2 ? p1 : p1 + p2;
|
|
15 }
|
|
16
|
|
17 void
|
|
18 fn2 (void)
|
|
19 {
|
|
20 int j;
|
|
21 a = 30;
|
|
22 for (; a;)
|
|
23 for (; c; b = fn1 (j, 1))
|
|
24 ;
|
|
25 }
|
|
26
|
|
27 /* { dg-final { scan-tree-dump-times "(?n)find_duplicates: <bb .*> duplicate of <bb .*>" 1 "pre" } } */
|