Skip to content

r13065, missing declaration for tmp variable in sliced program (csmith)

ID0000806: This issue was created automatically from Mantis Issue 806. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000806 Frama-C Plug-in > slicing public 2011-04-28 2011-10-10
Reporter pascal Assigned To Anne Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version - Fixed in Version Frama-C Nitrogen-20111001

Description :

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

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information