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: hollas at informatik.htw-dresden.de (Boris Hollas)
  • Date: Thu, 10 May 2012 10:29:40 +0200
  • In-reply-to: <CA+yPOVg48U=Z4_NrEQ7oxPJ+YBxd_dy_0-HkBjP=Nwhz6H+YCQ@mail.gmail.com>
  • References: <1336374957.3945.35.camel@iti27.informatik.htw-dresden.de> <CA+yPOVg48U=Z4_NrEQ7oxPJ+YBxd_dy_0-HkBjP=Nwhz6H+YCQ@mail.gmail.com>

Hello Virgile,
> This calls for two separate answers. First, the transformation into
> nested ifs is here to take into account the potential side-effects of
> the expressions and ensure that they will be evaluated (or not)
> according to the rules of the C standard regarding logical operators.

So, the purpose of this transformation is to make the short-circuit
evaluation of expressions in C explicit?
-- 
Best regards,
Boris