[Frama-c-discuss] Jessie and CHAR_MIN

Claude Marché Claude.Marche at inria.fr
Mon May 25 14:02:08 CEST 2009



Jens Gerlach wrote:
>>
>> So a C "char" is mapped to a Why "int8". However I could not find
>> where this int8 is defined.
>>
>>> 3.) The line  //@ assert i >= UCHAR_MIN; is not recognised at all.
>>
>> Notice that I you just put "//@ assert i >= 0;" it also fails.
>>
> 
> You are right.
> However, for unsigned short and unsigned int 
> the assertion "//@ assert i >= 0;" is proven.
> Looks like a problem with char.

Yes, unsigned char should have been mapped to uint8. Could you fill a 
bug report so that we do not forgot to look at it ?

- Claude


> Jens
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss

-- 
Claude Marché                          | tel: +33 1 72 92 59 69
INRIA Saclay - Île-de-France           | mobile: +33 6 33 14 57 93
Parc Orsay Université                  | fax: +33 1 74 85 42 29
4, rue Jacques Monod - Bâtiment N      | http://www.lri.fr/~marche/
F-91893 ORSAY Cedex                    |









More information about the Frama-c-discuss mailing list