From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 17 Oct 2014 20:07:48 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c24492abe48a0505a31436 Subject: Re: [9fans] copy paste bug in cc.y? Topicbox-Message-UUID: 1d7229ba-ead9-11e9-9d60-3106f5b1d025 --001a11c24492abe48a0505a31436 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 17 October 2014 18:48, Yoann Padioleau wrote: > Somehow? > > Would be nice to have a comment explaining this =E2=80=9Csomehow" then > because it looks tricky. > it's building a tree for (0:int-(0:int-x)) which later transformations will simplify to x, but having done "the usual arithmetic conversions" balancing and promoting 0s and x as required, if it's char/int/long/vlong. --001a11c24492abe48a0505a31436 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 17 October 2014 18:48, Yoann Padioleau <pad@fb.com> wrote:
Somehow?

Would be nice to have a comment explaining this =E2=80=9Csomehow"= then
because it looks tricky.

it's bu= ilding a tree for (0:int-(0:int-x)) which later transformations will simpli= fy to x, but having done "the usual arithmetic conversions"
=
balancing and promoting 0s and x as required, if= it's char/int/long/vlong.
--001a11c24492abe48a0505a31436--