Frama-C Bug Tracking System - Frama-C
View Issue Details
0000819Frama-CPlug-in > Evapublic2011-05-11 13:452014-02-12 16:59
pascal 
pascal 
normalminorhave not tried
closedfixed 
Frama-C Carbon-20110201 
Frama-C Nitrogen-20111001 
0000819: wrong interpretation when a bit-field receives the result of a function (csmith)
struct 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==
No tags attached.
Issue History
2011-05-11 13:45pascalNew Issue
2011-05-11 13:45pascalStatusnew => assigned
2011-05-11 13:45pascalAssigned To => pascal
2011-05-11 14:07svnCheckin
2011-05-11 14:07svnStatusassigned => resolved
2011-05-11 14:07svnResolutionopen => fixed
2011-10-10 14:13signolesFixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14signolesStatusresolved => closed
2014-02-12 16:59pascalNote Added: 0004792
2014-02-12 16:59pascalStatusclosed => resolved
2018-01-12 14:26signolesCategoryPlug-in > value analysis => Plug-in > Eva

Notes
(0004792)
pascal   
2014-02-12 16:59   
Fix committed to stable/neon branch.