Frama-C Bug Tracking System - Frama-C
View Issue Details
0000806Frama-CPlug-in > slicingpublic2011-04-28 14:372011-10-10 14:14
Frama-C GIT, precise the release id 
Frama-C Nitrogen-20111001 
0000806: r13065, missing declaration for tmp variable in sliced program (csmith)
gcc -c -m32 s.28143037.2.s.c s.28143037.2.s.c: In function ‘func_1_slice_1’: s.28143037.2.s.c:118: error: ‘tmp_17’ undeclared (first use in this function) s.28143037.2.s.c:118: error: (Each undeclared identifier is reported only once s.28143037.2.s.c:118: error: for each function it appears in.) The slice was obtained with: ~/ppc/bin/toplevel.opt -val-signed-overflow-alarms s.28143037.2.c -cpp-command "gcc -m32 -C -E -D__FRAMAC -I. -I$CSMITH/runtime " -slice-calls Frama_C_show_each -slevel 5000 -slevel-function crc32_gentab:0 -then-on 'Slicing export' -print -ocode s.28143037.2.s.c
No tags attached.
tgz tmp.tgz (37,479) 2011-04-28 14:37
Issue History
2011-04-28 14:37pascalNew Issue
2011-04-28 14:37pascalStatusnew => assigned
2011-04-28 14:37pascalAssigned To => Anne
2011-04-28 14:37pascalFile Added: tmp.tgz
2011-04-28 14:42AnneNote Added: 0001821
2011-04-28 14:53pascalNote Added: 0001822
2011-04-28 14:54pascalSummaryr13065, missing declaration for tmp variable in sliced program => r13065, missing declaration for tmp variable in sliced program (csmith)
2011-04-28 15:00AnneNote Added: 0001823
2011-04-28 16:08AnneNote Added: 0001824
2011-04-28 16:08AnneNote Added: 0001825
2011-04-28 16:08AnneStatusassigned => resolved
2011-04-28 16:08AnneResolutionopen => fixed
2011-10-10 14:13signolesFixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14signolesStatusresolved => closed

2011-04-28 14:42   
I am sure that you keep on some slicing bugs in reserve to be always ready to feed the BTS, don't you ? ;-) I'll have a look...
2011-04-28 14:53   
No, no, these are with the new SVN version. I launched 4 instances of my slicing testing script as soon as you closed all functional slicing bugs in the BTS. The digits are DDHHMMSS.
2011-04-28 15:00   
Again a bug in [filter] while building the new project !
2011-04-28 16:08   
The problem was that when building a block with only one statement, the block was droped even if it declared local variables.
2011-04-28 16:08   
in rev 13072