View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0002127 | Frama-C | Plug-in > wp | public | 2015-06-04 11:50 | 2016-01-26 08:43 |
|
Reporter | loic | |
Assigned To | correnson | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Linux | OS | Ubuntu | OS Version | 12.04.5 LTS |
Product Version | | |
Target Version | | Fixed in Version | Frama-C Magnesium | |
|
Summary | 0002127: Unprovable inequality involving (unsigned) -1 |
Description | Nitrogen-20111001
alt-ergo 0.94
The following assertion cannot be proven.
void arithmetic_testcase(unsigned i) {
/*@ assert i <= (unsigned) -10 ==> i + 9 <= (unsigned) -1; */
} |
Steps To Reproduce | frama-c -wp -wp-ret for the code above (also as attachment). |
Tags | No tags attached. |
|
Attached Files | arithmetic_testcase.c [^] (164 bytes) 2015-06-04 11:50 [Show Content] [Hide Content]/* frama-c -wp -wp-rte */
/* alt-ergo version 0.94 */
void arithmetic_testcase(unsigned i) {
/*@ assert i <= (unsigned) -10 ==> i + 9 <= (unsigned) -1; */
}
|
|