1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
2 // expected-no-diagnostics
8 double bar(int start
, int end
) {
9 int i
, cnt
, processed
, size
;
15 cnt
= (end
- start
+ 1) * size
;
17 for (i
= 0; i
< cnt
; i
+= 2) {
18 if ((i
% size
) == 0) {
22 result
+= inc
* inc
; // no-warning