Lines Matching full: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 {{overflow in expression; result is 536870912 with type 'int'}}
22 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
25 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
26 overflow += overflow2 = overflow3 = (uint64_t)(4608 * 1024 * 1024);
27 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
28 overflow += overflow2 = overflow3 = 4608 * 1024 * 1024;
30 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
31 overflow += overflow2 = overflow3 = static_cast<uint64_t>(4608 * 1024 * 1024);
36 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
37 overflow = 4608 * 1024 * 1024 ? 4608 * 1024 * 1024 : 0;
39 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
40 overflow = 0 ? 0 : 4608 * 1024 * 1024;
42 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
46 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
50 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
54 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
58 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
62 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
66 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
71 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
74 // expected-warning@+1 {{overflow in expression; result is 537919488 with type 'int'}}
77 // expected-warning@+1 {{overflow in expression; result is 537919488 with type 'int'}}
84 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
87 // expected-warning@+2 2{{overflow in expression; result is 536870912 with type 'int'}}
88 // expected-warning@+1 {{overflow converting case value to switch condition type (288230376151711744 to 0)}}
93 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
96 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
99 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
102 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
105 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
108 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
111 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
114 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
117 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
120 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
123 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
126 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
129 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
132 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}
135 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
136 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
137 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
142 // expected-warning@+3 {{overflow in expression; result is 536870912 with type 'int'}}
143 // expected-warning@+3 2{{overflow in expression; result is 536870912 with type 'int'}}
144 // expected-warning@+3 2{{overflow in expression; result is 536870912 with type 'int'}}
149 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
152 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
155 // expected-warning@+1 {{overflow in expression; result is 536870912 with type 'int'}}
158 // expected-warning@+4 {{overflow in expression; result is 536870912 with type 'int'}}
164 // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}}