2021-02-24 18:10 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000861Frama-CKernelpublic2014-02-12 16:59
Reporteryakobowski 
Assigned Toyakobowski 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Product VersionFrama-C Carbon-20110201 
Target VersionFixed in VersionFrama-C Nitrogen-20111001 
Summary0000861: Incorrect loop unrolling in presence of switch
DescriptionSyntactic 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:
    }
  }
}
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0001965

yakobowski (manager)

Virgile, if you have some time, please check the fix.

~0004774

yakobowski (manager)

Fix committed to stable/neon branch.
+Notes

-Issue History
Date Modified Username Field Change
2011-06-09 21:18 yakobowski New Issue
2011-06-09 21:20 yakobowski Status new => assigned
2011-06-09 21:20 yakobowski Assigned To => virgile
2011-06-09 23:52 yakobowski Note Added: 0001965
2011-06-09 23:52 svn
2011-06-09 23:52 svn Status assigned => resolved
2011-06-09 23:52 svn Resolution open => fixed
2011-10-10 14:13 signoles Fixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14 signoles Status resolved => closed
2013-12-19 01:12 yakobowski Source_changeset_attached => framac master 360a82ca
2014-02-12 16:54 yakobowski Source_changeset_attached => framac stable/neon 360a82ca
2014-02-12 16:59 yakobowski Note Added: 0004774
2014-02-12 16:59 yakobowski Assigned To virgile => yakobowski
2014-02-12 16:59 yakobowski Status closed => resolved
+Issue History