From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 13 Sep 2015 11:21:10 -0700 To: 9fans@9fans.net Message-ID: In-Reply-To: <52607cb8b4723e1490f67b6451fc4ef5@felloff.net> References: <52607cb8b4723e1490f67b6451fc4ef5@felloff.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] kenc vlong double Topicbox-Message-UUID: 6a52d0d6-ead9-11e9-9d60-3106f5b1d025 > --- a/sys/src/cmd/cc/com.c Sun Sep 13 13:51:00 2015 +0200 > +++ b/sys/src/cmd/cc/com.c Sun Sep 13 19:59:43 2015 +0200 > @@ -182,8 +182,8 @@ > r = new1(OCAST, n->right, Z); > r->type = t; > n->right = r; > - n->type = t; > } > + n->type = t; > break; isn't the && !mixedasop() added to the condition the problem: the cast should not be elided if it's a float/double. though 8c might get this wrong for other reasons. - erik