Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Acsl implicit cast Enumeration - integer
- Subject: [Frama-c-discuss] Acsl implicit cast Enumeration - integer
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- Date: Tue, 23 Feb 2010 18:45:18 +0100
- In-reply-to: <4B82534B.2010007@atosorigin.com>
- References: <4B82534B.2010007@atosorigin.com>
Hello Victoria, Le lun. 22 f?vr. 2010 10:50:03 CET, Victoria MOYA LAMIEL <victoria.moyalamiel at atosorigin.com> a ?crit : > 1/ First of all, I've found some problems with the translation of this > /*@logic T_BOOLEEN test (integer b)= > @ (b==1)? > @ (T_BOOLEEN)VRAI > @ : (T_BOOLEEN) FALSE; > @*/ > What is wrong in this form ? Thanks for the report, this is indeed a bug in the type-checker for the logic. It is corrected in the development version. > > 2/ The only way we found to translate it with Jessie was : > > /*@logic T_BOOLEEN test (integer b)= > @ (T_BOOLEEN)((b==1)? > @ VRAI > @ : FALSE); > @*/ > > Nevertheless, this solution doesn't work with the integer model > ("-jessie-int-model exact"). This looks like a bug in the jessie plugin itself, but I'll let Jessie experts comment on that particular topic. Best regards, -- E tutto per oggi, a la prossima volta. Virgile
- References:
- [Frama-c-discuss] Acsl implicit cast Enumeration - integer
- From: victoria.moyalamiel at atosorigin.com (Victoria MOYA LAMIEL)
- [Frama-c-discuss] Acsl implicit cast Enumeration - integer
- Prev by Date: [Frama-c-discuss] Problem in download
- Next by Date: [Frama-c-discuss] Problems in downloading Windows binary installer of Frama-c
- Previous by thread: [Frama-c-discuss] Acsl implicit cast Enumeration - integer
- Next by thread: [Frama-c-discuss] Problems in downloading Windows binary installer of Frama-c
- Index(es):