From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <8edba5d726ee6a032d8521c7de33f499@felloff.net> Date: Tue, 5 Jan 2016 10:17:46 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1148e42c8845090528938c5b Subject: Re: [9fans] subtracting pointers on amd64 6c Topicbox-Message-UUID: 7e3aa75e-ead9-11e9-9d60-3106f5b1d025 --001a1148e42c8845090528938c5b Content-Type: text/plain; charset=UTF-8 On 5 January 2016 at 07:53, wrote: > rsc has fixed this in the go 6c compiler. so far most code > seems to compile and work fine. the most fallout is with > long x = p - q; T *y = p+x; really there needs to be a new typedef for the difference type. --001a1148e42c8845090528938c5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 5 January 2016 at 07:53, <cinap_lenrek@felloff.net> wrote:
rsc has fixed this in the go 6c compiler. so far = most code
seems to compile and work fine. the most fallout is with

long x =3D p - q;
T *y =3D p+= x;

rea= lly there needs to be a new typedef for the difference type.
--001a1148e42c8845090528938c5b--