View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001027 | Frama-C | Kernel > ACSL implementation | public | 2011-11-25 18:34 | 2014-02-12 16:58 | ||||
Reporter | signoles | ||||||||
Assigned To | virgile | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | Frama-C Nitrogen-20111001 | ||||||||
Target Version | Fixed in Version | Frama-C Oxygen-20120901 | |||||||
Summary | 0001027: incompatible types for a correct spec | ||||||||
Description | On the attached file, we get: $ frama-c -jessie max_ok.c <snip> File "max_ok.jc", line 53, characters 11-17: typing error: incompatible types: intP[..] and integer Note that the WP plug-in proves this program correct wrt its spec. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
virgile (developer) 2011-11-28 09:39 |
Arguably, the type-checker should transform assumes r into assumes r != (int *)0 or assumes r != \null instead of simply assumes r != 0 (similarly for assumes !r). |
2014-02-12 16:58 |
Fix committed to stable/neon branch. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-25 18:34 | signoles | New Issue | |
2011-11-25 18:34 | signoles | Status | new => assigned |
2011-11-25 18:34 | signoles | Assigned To | => cmarche |
2011-11-25 18:34 | signoles | File Added: max_ok.c | |
2011-11-28 09:39 | virgile | Note Added: 0002508 | |
2011-11-28 09:39 | virgile | Assigned To | cmarche => virgile |
2011-11-28 09:39 | virgile | Status | assigned => confirmed |
2011-11-28 09:39 | virgile | Category | Plug-in > jessie => Kernel > ACSL implementation |
2012-01-06 13:20 | svn | ||
2012-01-06 13:20 | svn | Status | confirmed => resolved |
2012-01-06 13:20 | svn | Resolution | open => fixed |
2012-09-19 17:15 | signoles | Fixed in Version | => Frama-C Oxygen-20120901 |
2012-09-19 17:16 | signoles | Status | resolved => closed |
2013-12-19 01:11 | Source_changeset_attached | => framac master 06b8e72d | |
2014-02-12 16:54 | Source_changeset_attached | => framac stable/neon 06b8e72d | |
2014-02-12 16:58 | Note Added: 0004691 | ||
2014-02-12 16:58 | Status | closed => resolved |