Skip to content

Commit c7e0e4a

Browse files
committed
SMT conversion does not allow 0-sized arrays
so this test cannot be verified using smt-solver until smt conversion is fixed/extended.
1 parent 239b242 commit c7e0e4a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

regression/cbmc/Pointer_byte_extract5/no-simplify.desc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
main.i
33
--bounds-check --32 --no-simplify
44
^EXIT=10$
@@ -10,5 +10,7 @@ array\.List dynamic object upper bound in p->List\[2\]: FAILURE
1010
--
1111
Test is built from SV-COMP's memsafety/20051113-1.c_false-valid-memtrack.c.
1212
C90 did not have flexible arrays, and using arrays of size 1 was common
13-
practice: http://c-faq.com/struct/structhack.html. We need to treat those as if
14-
it were a zero-sized array.
13+
practice: http://c-faq.com/struct/structhack.html. But past C90 using
14+
non-flexible members for struct-hack is undefined, hence we changed the test to
15+
use flexible member instead. That is not currently supported by our smt
16+
conversion: zero-sized arrays.

0 commit comments

Comments
 (0)