Skip to content
GitLab
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 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and 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
  • #866
Closed
Open
Issue created Nov 27, 2014 by Jochen Burghardt@burghardt

"do"-loop with body interspersed with "case" labels of surrounding "switch" not parsed

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


Id Project Category View Due Date Updated
ID0001994 Frama-Clang Plug-in > clang public 2014-11-27 2015-02-16
Reporter Jochen Assigned To virgile Resolution open
Priority normal Severity feature Reproducibility always
Platform frama-c-Neon-20140301+dev-stance OS - OS Version xubuntu-cfe13.10
Product Version - Target Version - Fixed in Version -

Description :

output:

Unsupported Statement: DefaultStmt 0x2caf430 <158.cpp:6:2, col:15> -UnaryOperator 0x2c64b68 <col:12, col:15> 'int' postfix '++' -DeclRefExpr 0x2c64b40 col:12 'int' lvalue Var 0x2c649a0 'sum' 'int'

Aborting

The program has been boiled down from that an exercise in Stroustrup's C++ book, see attached file "stroustrup_06_06_15.cpp" for full example.

Attachments

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