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 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #399
Closed
Open
Created Jul 28, 2016 by Jochen Burghardt@burghardt

expression "b--3" accepted in ACSL (interpreted as "b - -3"), but not in C

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


Id Project Category View Due Date Updated
ID0002240 Frama-C Kernel > ACSL implementation public 2016-07-28 2016-12-05
Reporter Jochen Assigned To virgile Resolution no change required
Priority normal Severity feature Reproducibility always
Platform - OS xubuntu OS Version -
Product Version Frama-C Aluminium Target Version - Fixed in Version -

Description :

Running "frama-c -wp aaa.c" on the attached program gives no syntax error, and reports 1/1 goals proven, although the right-hand side expression in line 7 is invalid. Uncommenting line 6, which contains the same expression in C, results in a syntax error, as expected.

Attachments

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