Tests exhibiting performance problems with floating point equalities

See #4337.
This commit is contained in:
Peter Schrammel 2019-03-07 08:39:43 +00:00
parent 4f19015c8e
commit b3c9adec0a
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#include <assert.h>
void main()
{
double a, b, c;
__CPROVER_assume(a + b > c);
#ifdef EQUALITY
double x = a, y = b, z = c;
assert(!(z > x + y));
#else
assert(!(c > a + b));
#endif
}

View File

@ -0,0 +1,10 @@
KNOWNBUG broken-smt-backend
main.c
-DEQUALITY
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
--
^warning: ignoring
--
Times out. See #4337.

View File

@ -0,0 +1,9 @@
CORE broken-smt-backend
main.c
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
--
^warning: ignoring
--