File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/cdomain/value/cdomains/int
tests/regression/67-interval-sets-two Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ struct
167167 let res = List. map (norm_interval ~suppress_ovwarn ~cast ik) xs in
168168 let intvs = List. concat_map fst res in
169169 let underflow = List. exists (fun (_ ,{underflow; _} ) -> underflow) res in
170- let overflow = List. exists (fun (_ ,{overflow; _} ) -> underflow ) res in
170+ let overflow = List. exists (fun (_ ,{overflow; _} ) -> overflow ) res in
171171 (canonize intvs,{underflow; overflow})
172172
173173 let binary_op_with_norm op (ik :ikind ) (x : t ) (y : t ) : t*overflow_info = match x, y with
Original file line number Diff line number Diff line change 1+ // PARAM: --enable ana.int.interval_set
2+ int count_int_int ;
3+ void main () {
4+ for (;; count_int_int ++ ) // WARN (overflow)
5+ ;
6+ }
You can’t perform that action at this time.
0 commit comments