You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good evening,
I stumbled over a case where cdizy seems to enter an infinite loop.
It is most probably due to widening being incorrectly applied (or fixed-point incorrectly detected), but I haven't been able to track it down yet.
In any case, here is an example exhibiting such behavior:
typedefshortGuard;
intres;
intT_res;
voidtest(inta, intb)
{
GuardRet=0;
GuardT_Ret=0;
intT_a=a;
intT_b=b;
intx;
intT_x;
if (!Ret) x=a+2*b;
if (!T_Ret) T_x=T_a+2*T_b;
L1:;
GuardG0=1;
GuardT_G0=1;
if (!T_Ret) T_G0= (1 <= T_b);
if (!Ret) G0= (1 <= a);
if (!T_Ret) if (T_G0) T_x=T_x+1;
if (!T_Ret) if (T_G0) T_b=T_b-1;
if (!Ret) if (G0) x=x+1;
if (!Ret) if (G0) a=a-1;
if (!Ret) if (G0) goto L1;
if (!T_Ret) if (T_G0) goto L1;
res=x;
T_res=T_x;
{char*CP7;}
}
The text was updated successfully, but these errors were encountered:
Good evening,
I stumbled over a case where cdizy seems to enter an infinite loop.
It is most probably due to widening being incorrectly applied (or fixed-point incorrectly detected), but I haven't been able to track it down yet.
In any case, here is an example exhibiting such behavior:
The text was updated successfully, but these errors were encountered: