Frama-C Bug Tracking System - Frama-C
View Issue Details
0000922Frama-CPlug-in > jessiepublic2011-08-12 14:512011-08-12 14:55
jessie_user 
cmarche 
normalmajoralways
assignedopen 
Frama-C Carbon-20110201 
 
0000922: Jessie Plugin returns an error. Code with struct-statement, cannot be compiled in a function by call by value.
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 cannot be compiled. pragma SeparationPolicy (none) resolves the problem, but you have too much goals to proof.
//#pragma SeparationPolicy (none) struct cont { int value_a; }; /*@ assigns \nothing; */ void test_struct2 (struct cont x, struct cont y){ }
No tags attached.
c test_cbv_fail.c (146) 2011-08-12 14:54
https://bts.frama-c.com/file_download.php?file_id=259&type=bug
Issue History
2011-08-12 14:51jessie_userNew Issue
2011-08-12 14:51jessie_userStatusnew => assigned
2011-08-12 14:51jessie_userAssigned To => cmarche
2011-08-12 14:54jessie_userFile Added: test_cbv_fail.c
2011-08-12 14:55jessie_userNote Added: 0002140

Notes
(0002140)
jessie_user   
2011-08-12 14:55   
The error comes with following command: frama-c -jessie -jessie-atp coq test_cbv_fail.c