Frama-C Bug Tracking System - Frama-C
View Issue Details
0002366Frama-CPlug-in > clangpublic2018-02-12 14:572018-02-12 14:57
Jochen 
virgile 
normalminoralways
assignedopen 
Sulfur-20171101Ubuntu 17.10
Frama-C 16-Sulfur 
 
0002366: loop assigns clause ginored under strange circumstances
Running "frama-c -wp reverse_cpp.cpp" on the attached program reports reverse_cpp.cpp:13:37: Ambiguity when choosing overloaded function Rev. reverse_cpp.cpp:16:[wp] warning: Missing assigns clause (assigns 'everything' instead) For the 1st message, cf. #2364, using a similar program. The 2nd message disappears if (1) the file is renamed to "reverse_cpp.c", (2) the "assert" clause in line 10 is removed, (3) the "loop invariant" clause in line 13 is removed, or (4) the (possibly imaginary, cf. #2364) "Rev" ambiguity is resolved by removing one of the overloaded predicate definitions in lines 3 and 5.
No tags attached.
cpp reverse_cpp.cpp (256) 2018-02-12 14:57
https://bts.frama-c.com/file_download.php?file_id=1254&type=bug
Issue History
2018-02-12 14:57JochenNew Issue
2018-02-12 14:57JochenStatusnew => assigned
2018-02-12 14:57JochenAssigned To => virgile
2018-02-12 14:57JochenFile Added: reverse_cpp.cpp

There are no notes attached to this issue.