Frama-C Bug Tracking System - Frama-C
View Issue Details
0000861Frama-CKernelpublic2011-06-09 21:182014-02-12 16:59
yakobowski 
yakobowski 
highcrashalways
closedfixed 
Frama-C Carbon-20110201 
Frama-C Nitrogen-20111001 
0000861: Incorrect loop unrolling in presence of switch
Syntactic loop unrolling of loops containing while is completely wrong. Can be checked with -print or -check on the code below. void main () { /*@ loop pragma UNROLL_LOOP 4; */ for (int i=0;i<4;i++) { switch (i) { case 1: break; case 2: break; case 3: break; case 4: break; default: } } }
No tags attached.
Issue History
2011-06-09 21:18yakobowskiNew Issue
2011-06-09 21:20yakobowskiStatusnew => assigned
2011-06-09 21:20yakobowskiAssigned To => virgile
2011-06-09 23:52yakobowskiNote Added: 0001965
2011-06-09 23:52svnCheckin
2011-06-09 23:52svnStatusassigned => resolved
2011-06-09 23:52svnResolutionopen => fixed
2011-10-10 14:13signolesFixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14signolesStatusresolved => closed
2014-02-12 16:59yakobowskiNote Added: 0004774
2014-02-12 16:59yakobowskiAssigned Tovirgile => yakobowski
2014-02-12 16:59yakobowskiStatusclosed => resolved

Notes
(0001965)
yakobowski   
2011-06-09 23:52   
Virgile, if you have some time, please check the fix.
(0004774)
yakobowski   
2014-02-12 16:59   
Fix committed to stable/neon branch.