1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Description: -m64 is not portable
Use preprocessed file only.
.
cbmc (5.84.0-4) unstable; urgency=low
.
* Fix portability problems
Author: Michael Tautschnig <mt@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2023-06-13
Index: cbmc-5.84.0/regression/cbmc-library/__asm_fstcw-01/msvc.c
===================================================================
--- cbmc-5.84.0.orig/regression/cbmc-library/__asm_fstcw-01/msvc.c
+++ /dev/null
@@ -1,10 +0,0 @@
-int main()
-{
- unsigned short cw;
- __asm { fstcw cw; }
- __CPROVER_assert((cw & 0xc00) == 0, "default rounding mode");
- // fesetround(FE_UPWARD);
- __CPROVER_rounding_mode = 2;
- __asm { fstcw cw; }
- __CPROVER_assert((cw & 0xc00) == 0x800, "round upwards");
-}
Index: cbmc-5.84.0/regression/cbmc-library/__asm_fstcw-01/msvc.desc
===================================================================
--- cbmc-5.84.0.orig/regression/cbmc-library/__asm_fstcw-01/msvc.desc
+++ cbmc-5.84.0/regression/cbmc-library/__asm_fstcw-01/msvc.desc
@@ -1,5 +1,5 @@
-CORE
-msvc.c
+KNOWNBUG
+msvc.i
--pointer-check --bounds-check --winx64
^EXIT=0$
^SIGNAL=0$
Index: cbmc-5.84.0/regression/cbmc-library/__asm_fstcw-01/msvc.i
===================================================================
--- /dev/null
+++ cbmc-5.84.0/regression/cbmc-library/__asm_fstcw-01/msvc.i
@@ -0,0 +1,10 @@
+int main()
+{
+ unsigned short cw;
+ __asm { fstcw cw; }
+ __CPROVER_assert((cw & 0xc00) == 0, "default rounding mode");
+ // fesetround(FE_UPWARD);
+ __CPROVER_rounding_mode = 2;
+ __asm { fstcw cw; }
+ __CPROVER_assert((cw & 0xc00) == 0x800, "round upwards");
+}
|