diff --git a/jbmc/src/jdiff/jdiff_parse_options.cpp b/jbmc/src/jdiff/jdiff_parse_options.cpp index e84e0d96599c..2175971a8824 100644 --- a/jbmc/src/jdiff/jdiff_parse_options.cpp +++ b/jbmc/src/jdiff/jdiff_parse_options.cpp @@ -40,7 +40,6 @@ Author: Peter Schrammel #include #include #include -#include #include #include #include @@ -296,7 +295,6 @@ bool jdiff_parse_optionst::process_goto_program( remove_returns(goto_model); remove_vector(goto_model); remove_complex(goto_model); - rewrite_union(goto_model); // add generic checks log.status() << "Generic Property Instrumentation" << messaget::eom; diff --git a/regression/ansi-c/arch_flags_mcpu_bad/object.intel b/regression/ansi-c/arch_flags_mcpu_bad/object.intel index 2ba432c93b36..b9bdd513da6e 100644 Binary files a/regression/ansi-c/arch_flags_mcpu_bad/object.intel and b/regression/ansi-c/arch_flags_mcpu_bad/object.intel differ diff --git a/regression/ansi-c/arch_flags_mcpu_bad/test.desc b/regression/ansi-c/arch_flags_mcpu_bad/test.desc index 5b43f9022cfd..2cfda406b60a 100644 --- a/regression/ansi-c/arch_flags_mcpu_bad/test.desc +++ b/regression/ansi-c/arch_flags_mcpu_bad/test.desc @@ -11,7 +11,7 @@ This tests the -mcpu=cortex=a15 flag that should activate ARM-32 mode. The object file 'object.intel' was compiled from 'source.c' with goto-cc on a 64-bit platform: - goto-cc -c source.c + goto-cc -c source.c -o object.intel preproc.i is already pre-processed so that it can be linked in without needing to invoke a pre-processor from a cross-compile toolchain on your diff --git a/regression/ansi-c/arch_flags_mcpu_good/object.arm b/regression/ansi-c/arch_flags_mcpu_good/object.arm index 6593905c6b48..cfd8751c1893 100644 Binary files a/regression/ansi-c/arch_flags_mcpu_good/object.arm and b/regression/ansi-c/arch_flags_mcpu_good/object.arm differ diff --git a/regression/ansi-c/arch_flags_mthumb_bad/object.intel b/regression/ansi-c/arch_flags_mthumb_bad/object.intel index d1b887e5bef2..e6a6b5e2bd53 100644 Binary files a/regression/ansi-c/arch_flags_mthumb_bad/object.intel and b/regression/ansi-c/arch_flags_mthumb_bad/object.intel differ diff --git a/regression/ansi-c/arch_flags_mthumb_bad/test.desc b/regression/ansi-c/arch_flags_mthumb_bad/test.desc index f163942b27f9..2a1c9d3ea88f 100644 --- a/regression/ansi-c/arch_flags_mthumb_bad/test.desc +++ b/regression/ansi-c/arch_flags_mthumb_bad/test.desc @@ -11,7 +11,7 @@ This tests the -mthumb flag that should activate ARM-32 mode. The object file 'object.intel' was compiled from 'source.c' with goto-cc on a 64-bit platform: - goto-cc -c source.c + goto-cc -c source.c -o object.intel preproc.i is already pre-processed so that it can be linked in without needing to invoke a pre-processor from a cross-compile toolchain on your diff --git a/regression/ansi-c/arch_flags_mthumb_good/object.arm b/regression/ansi-c/arch_flags_mthumb_good/object.arm index 6a398a5058be..9e725a7a4a84 100644 Binary files a/regression/ansi-c/arch_flags_mthumb_good/object.arm and b/regression/ansi-c/arch_flags_mthumb_good/object.arm differ diff --git a/regression/cbmc-library/float-nan-check/test.desc b/regression/cbmc-library/float-nan-check/test.desc index f90dd750bf59..7c4679b52541 100644 --- a/regression/cbmc-library/float-nan-check/test.desc +++ b/regression/cbmc-library/float-nan-check/test.desc @@ -1,15 +1,15 @@ CORE main.c --nan-check -\[main.NaN.1\] line \d+ NaN on \+ in byte_extract_little_endian\(c, (0|0l|0ll), float\) \+ myzero: SUCCESS +\[main.NaN.1\] line \d+ NaN on \+ in c\.f \+ myzero: SUCCESS \[main.NaN.2\] line \d+ NaN on / in myzero / myzero: FAILURE \[main.NaN.3\] line \d+ NaN on / in \(float\)n / myinf: FAILURE \[main.NaN.4\] line \d+ NaN on \* in myinf \* myzero: FAILURE \[main.NaN.5\] line \d+ NaN on \+ in -myinf \+ myinf: FAILURE \[main.NaN.6\] line \d+ NaN on - in myinf - myinf: FAILURE \[main.NaN.7\] line \d+ NaN on - in -myinf - -myinf: FAILURE -\[main.NaN.8\] line \d+ NaN on \+ in byte_extract_little_endian\(c, (0|0l|0ll), float\) \+ byte_extract_little_endian\(c, (0|0l|0ll), float\): SUCCESS -\[main.NaN.9\] line \d+ NaN on / in byte_extract_little_endian\(c, (0|0l|0ll), float\) / myzero: SUCCESS +\[main.NaN.8\] line \d+ NaN on \+ in c\.f \+ c\.f: SUCCESS +\[main.NaN.9\] line \d+ NaN on / in c\.f / myzero: SUCCESS \[main.NaN.10\] line \d+ NaN on \* in mynan \* mynan: SUCCESS \[main.NaN.11\] line \d+ NaN on \+ in mynan \+ mynan: SUCCESS \[main.NaN.12\] line \d+ NaN on - in mynan - mynan: SUCCESS diff --git a/regression/cbmc/union7/no_simplify.desc b/regression/cbmc/union7/no_simplify.desc new file mode 100644 index 000000000000..34a9fb409183 --- /dev/null +++ b/regression/cbmc/union7/no_simplify.desc @@ -0,0 +1,11 @@ +CORE broken-smt-backend +main.c +--big-endian --no-simplify +^EXIT=0$ +^SIGNAL=0$ +^VERIFICATION SUCCESSFUL$ +-- +^warning: ignoring +-- +Although this test can now be fully solved via constant propagation and +simplification, it should also succeed without simplification. diff --git a/regression/cbmc/union7/test.desc b/regression/cbmc/union7/test.desc index 58448e0655b0..b33c7528f52e 100644 --- a/regression/cbmc/union7/test.desc +++ b/regression/cbmc/union7/test.desc @@ -1,11 +1,11 @@ -CORE broken-smt-backend +CORE main.c --big-endian +Generated 3 VCC\(s\), 0 remaining after simplification ^EXIT=0$ ^SIGNAL=0$ ^VERIFICATION SUCCESSFUL$ -- ^warning: ignoring -- -This test reports a VERIFICATION ERROR when running with the SMT2 solver on -Windows only. +This test can now be fully solved via constant propagation and simplification. diff --git a/regression/cbmc/xml-trace/test.desc b/regression/cbmc/xml-trace/test.desc index cf2fe7e81357..5913aa431d20 100644 --- a/regression/cbmc/xml-trace/test.desc +++ b/regression/cbmc/xml-trace/test.desc @@ -7,7 +7,7 @@ VERIFICATION FAILED