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] Transformation of if-statements
- Subject: [Frama-c-discuss] Transformation of if-statements
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- Date: Thu, 10 May 2012 17:10:55 +0200
- In-reply-to: <1336638580.2266.8.camel@iti27.informatik.htw-dresden.de>
- References: <1336374957.3945.35.camel@iti27.informatik.htw-dresden.de> <CA+yPOVg48U=Z4_NrEQ7oxPJ+YBxd_dy_0-HkBjP=Nwhz6H+YCQ@mail.gmail.com> <1336638580.2266.8.camel@iti27.informatik.htw-dresden.de>
Hello, 2012/5/10 Boris Hollas <hollas at informatik.htw-dresden.de>: > So, the purpose of this transformation is to make the short-circuit > evaluation of expressions in C explicit? Yes. In addition, as I said previously, this transformation is needed when the C expression has side-effects: since Cil expressions are pure, you need to find some place where to put the resulting statements. Using an if-then-else is the easiest way to do it. Best regards, -- E tutto per oggi, a la prossima volta Virgile
- References:
- [Frama-c-discuss] Transformation of if-statements
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Transformation of if-statements
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Transformation of if-statements
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Transformation of if-statements
- Prev by Date: [Frama-c-discuss] Some unproved VCs occur while using wp
- Next by Date: [Frama-c-discuss] [jessie-plugin] cannot be used on your code
- Previous by thread: [Frama-c-discuss] Transformation of if-statements
- Next by thread: [Frama-c-discuss] C0: restricted C with annotations for teaching
- Index(es):