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] 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>