Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000806Frama-CPlug-in > slicingpublic2011-04-28 14:372011-10-10 14:14
Reporterpascal 
Assigned ToAnne 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionFrama-C GIT, precise the release id 
Target VersionFixed in VersionFrama-C Nitrogen-20111001 
Summary0000806: r13065, missing declaration for tmp variable in sliced program (csmith)
Descriptiongcc -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
TagsNo tags attached.
Attached Filestgz file icon tmp.tgz [^] (37,479 bytes) 2011-04-28 14:37

- Relationships

-  Notes
(0001821)
Anne (reporter)
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...
(0001822)
pascal (reporter)
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.
(0001823)
Anne (reporter)
2011-04-28 15:00

Again a bug in [filter] while building the new project !
(0001824)
Anne (reporter)
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.
(0001825)
Anne (reporter)
2011-04-28 16:08

in rev 13072

- Issue History
Date Modified Username Field Change
2011-04-28 14:37 pascal New Issue
2011-04-28 14:37 pascal Status new => assigned
2011-04-28 14:37 pascal Assigned To => Anne
2011-04-28 14:37 pascal File Added: tmp.tgz
2011-04-28 14:42 Anne Note Added: 0001821
2011-04-28 14:53 pascal Note Added: 0001822
2011-04-28 14:54 pascal Summary r13065, missing declaration for tmp variable in sliced program => r13065, missing declaration for tmp variable in sliced program (csmith)
2011-04-28 15:00 Anne Note Added: 0001823
2011-04-28 16:08 Anne Note Added: 0001824
2011-04-28 16:08 Anne Note Added: 0001825
2011-04-28 16:08 Anne Status assigned => resolved
2011-04-28 16:08 Anne 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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker