crest
crest copied to clipboard
Prediction failed #2
I've encountered another prediction failed issue, it looks very different from the other one to me. Running:
unsigned short a = 0;
unsigned char b = 1;
void main() {
__CrestUShort(&a);
__CrestUChar(&b);
int ak = --b;
a && 0;
ak >= 2 || 0;
}
with the latest crest(3e5ececd379) gives me:
Iteration 0 (0s): covered 0 branches [0 reach funs, 0 reach branches].
Iteration 1 (0s): covered 2 branches [1 reach funs, 4 reach branches].
Iteration 2 (0s): covered 3 branches [1 reach funs, 4 reach branches].
Iteration 3 (0s): covered 3 branches [1 reach funs, 4 reach branches].
Prediction failed!
Iteration 4 (0s): covered 3 branches [1 reach funs, 4 reach branches].
Prediction failed!
Any insight into this bug would be greatly appreciated.