Open taquangtrung opened 3 years ago
Yes, correct. I guess the reason might because the test case writer was not considering path sensitivity (branch conditions). I am changing the if condition to make it terminable.
Thank you for the update!
Hi,
Do you have any updates for this test case?
Is it possible to change the condition if (1)
to something like if (z)
? I saw that if (z)
is also used by the other test case recur4.c
Added the base case: 60848d6ad3110fe793674e03b9604d6cba700164
Thank you for the quick update! I also notice the same issue in recur0.c
void f() {
if (1) {
x = &y;
MUSTALIAS(x, &y)
f();
x = &z;
MUSTALIAS(x, &z)
NOALIAS(x, &y)
f();
}
}
Done. dca7f8d2f5b73271e5d18c51ffebaf0bad71ff3f
Hi,
For this test case, the first recursive call to
f()
inside the body off
will be non-terminating.So, I wonder if it is OK to check alias information after this call? Such assertions will never be reached anyway.