From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: expression function bug or think?
Date: Fri, 17 Jun 2011 05:56:34 +0200
Date: 2011-06-17T05:56:34+02:00 [thread overview]
Message-ID: <op.vw7bwkuyule2fv@douda-yannick> (raw)
In-Reply-To: f4d6b6d2-e1c4-434a-97ed-08347bf47152@y27g2000prb.googlegroups.com
Le Thu, 16 Jun 2011 17:56:32 +0200, Adam Beneschan <adam@irvine.com> a
écrit:
> However, this is the kind
> of thing that's easy to screw up in a compiler. You have a tree
> representing the conditional expression, and then you try to rearrange
> the nodes in the tree in order make the code run faster and avoid
> redundant computations, and if you don't do it right then something
> that was supposed to be evaluated conditionally gets moved so that
> it's evaluated before the condition is checked, and then your code
> blows up.
There is no formal proofs the applied transformations are valid ?
--
“Syntactic sugar causes cancer of the semi-colons.” [Epigrams on
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
Java: Write once, Never revisit
next prev parent reply other threads:[~2011-06-17 3:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 11:00 expression function bug or think? georg bauhaus
2011-06-16 11:27 ` AdaMagica
2011-06-16 15:56 ` Adam Beneschan
2011-06-17 3:56 ` Yannick Duchêne (Hibou57) [this message]
2011-06-16 16:16 ` Anh Vo
2011-06-16 18:56 ` Bill Findlay
2011-06-16 19:18 ` Simon Wright
2011-06-16 20:03 ` Georg Bauhaus
2011-06-16 20:03 ` Bill Findlay
2011-06-16 20:31 ` Florian Weimer
2011-06-16 20:41 ` Simon Wright
2011-06-16 21:14 ` Georg Bauhaus
2011-06-16 23:14 ` Bill Findlay
2011-06-17 9:34 ` Martin
2011-06-17 10:33 ` Simon Wright
2011-06-17 10:39 ` Martin
2011-06-17 11:09 ` Niklas Holsti
2011-06-16 21:04 ` Georg Bauhaus
2011-06-17 8:55 ` Georg Bauhaus
2011-06-17 9:10 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox