Lines Matching defs:overflow
9 static const uint64_t overflow = 1 * 4608 * 1024 * 1024; // expected-warning {{overflow in expression; result is 536870912 with type 'int'}}
12 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
13 uint64_t overflow = 4608 * 1024 * 1024,
14 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
16 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
18 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
20 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
23 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
24 overflow += overflow2 = overflow3 = (uint64_t)(4608 * 1024 * 1024);
25 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
26 overflow += overflow2 = overflow3 = 4608 * 1024 * 1024;
31 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
32 overflow = 4608 * 1024 * 1024 ? 4608 * 1024 * 1024 : 0;
34 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
35 overflow = 0 ? 0 : 4608 * 1024 * 1024;
37 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
41 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
45 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
49 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
53 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
57 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
62 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
65 // expected-warning@+1 {{overflow in expression; result is 537919488 with type 'int'}}
71 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
74 // expected-warning@+2 2{{overflow in expression; result is 536870912 with type 'int'}}
75 // expected-warning@+1 {{overflow converting case value to switch condition type (288230376151711744 to 0)}}
80 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
83 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
86 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
89 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
92 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
95 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
98 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
101 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
104 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
107 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
110 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
113 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
116 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
117 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
118 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
123 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
124 // expected-warning@+3 2{{overflow in expression; result is 536870912 with type 'int'}}
125 // expected-warning@+3 2{{overflow in expression; result is 536870912 with type 'int'}}
130 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
133 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
136 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
139 // expected-warning@+4 {{overflow in expression; result is 536870912 with type 'int'}}
145 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}