Frama-C Bug Tracking System - Frama-C
View Issue Details
0000923Frama-CPlug-in > jessiepublic2011-08-12 15:262011-08-12 15:26
jessie_user 
cmarche 
normalmajoralways
assignedopen 
Frama-C Carbon-20110201 
 
0000923: Jessie Plugin returns an error. Code with struct-statement, cannot be compiled.
jessie --version:
This is Jessie version 2.28, compiled on Mo 25. Jul 11:25:42 CEST 2011

frama-c -version
Version: Carbon-20101202-beta2
Compilation date: Fri Jul 22 11:14:08 CEST 2011

The following code for coq theorem prover cannot be compiled.
pragma SeparationPolicy (none) resolves the problem, but you have too much goals to proof.

To reproduce:
frama-c -jessie -jessie-atp coq test_pointer_global.c

This produces:

frama-c -jessie -jessie-atp coq test_pointer_global.c
[kernel] preprocessing with "gcc -C -E -I. -dD test_pointer_global.c"
[jessie] Starting Jessie translation
[jessie] Producing Jessie files in subdir test_pointer_global.jessie
[jessie] File test_pointer_global.jessie/test_pointer_global.jc written.
[jessie] File test_pointer_global.jessie/test_pointer_global.cloc written.
[jessie] Calling Jessie tool in subdir test_pointer_global.jessie
Generating Why function add
[jessie] Calling VCs generator.
why -coq [...] why/test_pointer_global.why
File "why/test_pointer_global.why", line 220, characters 16-44:
Unbound variable INTEGER32_erg_1_alloc_table
make: *** [coq/test_pointer_global_why.v] Fehler 1
[jessie] user error: Jessie subprocess failed: make -f test_pointer_global.makefile coq



struct INTEGER32 {
    long long value;
};

typedef struct INTEGER32 int32;

/*@
    assigns \nothing;

*/
void add (void){
    int32 erg;
    erg.value = 0;

}

No tags attached.
c test_pointer_global.c (150) 2011-08-12 15:26
https://bts.frama-c.com/file_download.php?file_id=260&type=bug
Issue History
2011-08-12 15:26jessie_userNew Issue
2011-08-12 15:26jessie_userStatusnew => assigned
2011-08-12 15:26jessie_userAssigned To => cmarche
2011-08-12 15:26jessie_userFile Added: test_pointer_global.c

There are no notes attached to this issue.