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
void data_underflow_012 ()
{
int min = -2147483647;
int dlist[4] = {0, 1, -2, -1};
int ret;
ret = min - dlist[2]; /Tool should detect this line as error/ /ERROR:Data underflow/
}
min - (-2) = min + 2; it will not be an error
The text was updated successfully, but these errors were encountered:
For the last example,
void data_underflow_012 ()
{
int min = -2147483647;
int dlist[4] = {0, 1, -2, -1};
int ret;
ret = min - dlist[2]; /Tool should detect this line as error/ /ERROR:Data underflow/
}
min - (-2) = min + 2; it will not be an error
The text was updated successfully, but these errors were encountered: