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 (Boris Hollas)
  • Date: Mon, 07 May 2012 09:15:57 +0200


I noticed that the parser transforms if-else-statements such as

int f6(int x, int y) {
  if((x == 0 && y == 0) || (x == 1 && y == 1)) return 1;
  else return 0;

into more complex if-else/goto-statements. Why is this done?
Best regards,