Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 209
    • Issues 209
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #570

Closed
Open
Created Jun 04, 2015 by mantis-gitlab-migration@mantis-gitlab-migration

Unprovable inequality involving (unsigned) -1

ID0002127: This issue was created automatically from Mantis Issue 2127. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002127 Frama-C Plug-in > wp public 2015-06-04 2016-01-26
Reporter loic Assigned To correnson Resolution fixed
Priority normal Severity minor Reproducibility always
Platform Linux OS Ubuntu OS Version 12.04.5 LTS
Product Version - Target Version - Fixed in Version Frama-C Magnesium

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).

Attachments

  • arithmetic_testcase.c
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking