Showing error 5

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: bitvector/gcd_2_safe.i
Line in file: 4
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

 1extern int nondet_int(void);
 2void __VERIFIER_assert(int cond) {
 3  if (!(cond)) {
 4    ERROR: goto ERROR;
 5  }
 6  return;
 7}
 8signed char gcd_test(signed char a, signed char b)
 9{
10    signed char t;
11
12    if (a < (signed char)0) a = -a;
13    if (b < (signed char)0) b = -b;
14
Show full sources