--- layout: fc_discuss_archives title: Message 82 from Frama-C-discuss on January 2014 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Frama-C: Detecting unreachable code?



On Sat, Jan 25, 2014 at 8:47 PM, Dharmalingam Ganesan <
dganesan at fc-md.umd.edu> wrote:

> I looked at the code generated by RTE. I wonder why it casts unsigned int
> into int types?


Because this is how the C language works

Please see http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf ,
especially ?integer promotions? in section 6.3.


> Is it a bug in RTE?
>

No.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20140125/b16eae8b/attachment.html>