Lines Matching defs:overflow
14 static const uint64_t overflow = 1 * 4608 * 1024 * 1024; // expected-warning {{overflow in expression; result is 536'870'912 with type 'int'}}
17 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
18 uint64_t overflow = 4608 * 1024 * 1024,
19 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
21 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
23 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
25 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
28 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
29 overflow += overflow2 = overflow3 = (uint64_t)(4608 * 1024 * 1024);
30 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
31 overflow += overflow2 = overflow3 = 4608 * 1024 * 1024;
36 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
37 overflow = 4608 * 1024 * 1024 ? 4608 * 1024 * 1024 : 0;
39 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
40 overflow = 0 ? 0 : 4608 * 1024 * 1024;
42 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
46 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
50 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
54 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
58 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
62 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
67 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
70 // expected-warning@+1 {{overflow in expression; result is 537'919'488 with type 'int'}}
76 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
79 // expected-warning@+2 2{{overflow in expression; result is 536'870'912 with type 'int'}}
80 // expected-warning@+1 {{overflow converting case value to switch condition type (288230376151711744 to 0)}}
85 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
88 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
91 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
94 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
97 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
100 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
103 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
106 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
109 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
112 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
115 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
118 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
121 // expected-warning@+3 {{overflow in expression; result is 536'870'912 with type 'int'}}
122 // expected-warning@+3 {{overflow in expression; result is 536'870'912 with type 'int'}}
123 // expected-warning@+3 {{overflow in expression; result is 536'870'912 with type 'int'}}
128 // expected-warning@+3 {{overflow in expression; result is 536'870'912 with type 'int'}}
129 // expected-warning@+3 2{{overflow in expression; result is 536'870'912 with type 'int'}}
130 // expected-warning@+3 2{{overflow in expression; result is 536'870'912 with type 'int'}}
135 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
138 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
141 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
144 // expected-warning@+4 {{overflow in expression; result is 536'870'912 with type 'int'}}
150 // expected-warning@+2 {{overflow in expression; result is 536'870'912 with type 'int'}}
154 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
157 // expected-warning@+1 2{{overflow in expression; result is 536'870'912 with type 'int'}}
162 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
165 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
168 // expected-warning@+2 {{overflow in expression; result is 536'870'912 with type 'int'}}
172 // expected-warning@+1 {{overflow in expression; result is 536'870'912 with type 'int'}}
176 int arr[4608 * 1024 * 1024]; // expected-warning {{overflow in expression; result is 536'870'912 with type 'int'}}
186 .x = 4 * 1024 * 1024 * 1024 // expected-warning {{overflow in expression; result is 0 with type 'int'}}
200 .a0 = 4 * 1024 * 1024 * 1024, // expected-warning {{overflow in expression; result is 0 with type 'int'}}
202 .a2 = 4 * 1024 * 1024 * 1024, // expected-warning {{overflow in expression; result is 0 with type 'int'}}
204 .a4 = 4 * 1024 * 1024 * 1024 // expected-warning {{overflow in expression; result is 0 with type 'int'}}