2021-01-25 08:14 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000819Frama-CPlug-in > Evapublic2014-02-12 16:59
Reporterpascal 
Assigned Topascal 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
Product VersionFrama-C Carbon-20110201 
Target VersionFixed in VersionFrama-C Nitrogen-20111001 
Summary0000819: wrong interpretation when a bit-field receives the result of a function (csmith)
Descriptionstruct S { int b:31; } s;

int f(void)
{
  return -1;
}

main(){
  s.b = f();
  Frama_C_dump_each();
}

[value] DUMPING STATE of file bitfield_receives_result.c line 10
        s.b# ? {-1} misaligned 0%32
         .[bits 31 to 31] ? {0}
        =END OF DUMP==
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0004792

pascal (reporter)

Fix committed to stable/neon branch.
+Notes

-Issue History
Date Modified Username Field Change
2011-05-11 13:45 pascal New Issue
2011-05-11 13:45 pascal Status new => assigned
2011-05-11 13:45 pascal Assigned To => pascal
2011-05-11 14:07 svn
2011-05-11 14:07 svn Status assigned => resolved
2011-05-11 14:07 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 pascal Source_changeset_attached => framac master 1ef993a2
2014-02-12 16:54 pascal Source_changeset_attached => framac stable/neon 1ef993a2
2014-02-12 16:59 pascal Note Added: 0004792
2014-02-12 16:59 pascal Status closed => resolved
2018-01-12 14:26 signoles Category Plug-in > value analysis => Plug-in > Eva
+Issue History