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] Problem with int and integer in terms
- Subject: [Frama-c-discuss] Problem with int and integer in terms
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- Date: Thu, 02 Aug 2012 11:28:31 +0200
- In-reply-to: <CA+yPOVhiAzgn8xkYPqF02e42KFZPh36YVqNOfV+7XJ1ij06s9g@mail.gmail.com>
- References: <501A3208.3050004@informatik.htw-dresden.de> <CA+yPOVhiAzgn8xkYPqF02e42KFZPh36YVqNOfV+7XJ1ij06s9g@mail.gmail.com>
Hello Virgile, the problem is that if I hash t as an int (converted from an lval) and then try to find t, when it is part of another term such as t-1, in the hashtable, it has type integer and hence isn't found. So, does "If cast is true: expressions with integral type are cast to corresponding C type." in the API doc for expr_to_term, lval_to_term_lval, host_to_term_host mean that the operand keeps type int, but is considered as an integer when needed? -Boris
- Follow-Ups:
- [Frama-c-discuss] Problem with int and integer in terms
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Problem with int and integer in terms
- References:
- [Frama-c-discuss] Problem with int and integer in terms
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Problem with int and integer in terms
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Problem with int and integer in terms
- Prev by Date: [Frama-c-discuss] [frama-c] def information of statement which contain a pointer value
- Next by Date: [Frama-c-discuss] Problem with int and integer in terms
- Previous by thread: [Frama-c-discuss] Problem with int and integer in terms
- Next by thread: [Frama-c-discuss] Problem with int and integer in terms
- Index(es):