Skip to content

"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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information