[M3devel] [M3commit] CVS Update: cm3
Rodney M. Bates
rodney_bates at lcwb.coop
Fri Jan 29 19:11:39 CET 2010
Tony Hosking wrote:
> Note that the front-end refuses to do any constant folding that results
> in overflow. Instead, it generates code that will execute at run-time.
> If that causes a run-time error then fine. Similarly, the back-end
> should never do constant folding for things that overflow.
Hmm, I didn't know that. I think that is a very good idea. It really
preserves language semantics, while gaining efficiency where possible.
>
> On 29 Jan 2010, at 11:48, Jay K wrote:
>
>> For now I'm treating the error as a warning and continuing on.
>>
>> - Jay
>>
>>
>> ------------------------------------------------------------------------
>> From: hosking at cs.purdue.edu <mailto:hosking at cs.purdue.edu>
>> Date: Fri, 29 Jan 2010 10:31:35 -0500
>> To: jkrell at elego.de <mailto:jkrell at elego.de>
>> CC: m3commit at elegosoft.com <mailto:m3commit at elegosoft.com>
>> Subject: Re: [M3commit] CVS Update: cm3
>>
>> Why do you need that?
>>
>> Antony Hosking | Associate Professor | Computer Science | Purdue
>> University
>> 305 N. University Street | West Lafayette | IN 47907 | USA
>> Office +1 765 494 6001 | Mobile +1 765 427 5484
>>
>>
>>
>>
>> On 29 Jan 2010, at 09:57, Jay Krell wrote:
>>
>> CVSROOT: /usr/cvs
>> Changes by: jkrell at birch. 10/01/29 09:57:33
>>
>> Modified files:
>> cm3/m3-sys/m3middle/src/: Target.m3
>>
>> Log message:
>> in ToInt and IntI, do the conversion even if there is overflow
>> (still returning FALSE for overflow)
>>
>>
>>
>
More information about the M3devel
mailing list