[M3commit] CVS Update: cm3
Jay K
jay.krell at cornell.edu
Mon Feb 8 02:40:46 CET 2010
This really puzzles me, that using TInt.Zero makes it fail.
I do see a subtle difference, n of TInt.Zero is always 8,
but the CG.m3 code uses 4 for for 32bit.
- Jay
From: jay.krell at cornell.edu
To: hosking at cs.purdue.edu
Date: Mon, 8 Feb 2010 01:27:30 +0000
CC: m3commit at elegosoft.com
Subject: Re: [M3commit] CVS Update: cm3
Oddly, just using TInt.Zero apparently breaks it all.
Assertion failures all over ThreadWin32.m3.
I'll dig a *little*.
Well, er, maybe just try your change without the TInt.Zero part?
- Jay
From: jay.krell at cornell.edu
To: hosking at cs.purdue.edu
Date: Mon, 8 Feb 2010 01:09:42 +0000
CC: m3commit at elegosoft.com
Subject: Re: [M3commit] CVS Update: cm3
Same thing on Linux/x86.
i.e. it breaks everything.
- Jay
From: jay.krell at cornell.edu
To: hosking at cs.purdue.edu
Date: Mon, 8 Feb 2010 01:05:58 +0000
CC: m3commit at elegosoft.com
Subject: Re: [M3commit] CVS Update: cm3
I'll look a bit.
I'll double check the starting point, and try on Linux. This was on NT386, which has another problem initializing things larger than integer.
- Jay
Subject: Re: [M3commit] CVS Update: cm3
From: hosking at cs.purdue.edu
Date: Sun, 7 Feb 2010 19:57:17 -0500
CC: m3commit at elegosoft.com
To: jay.krell at cornell.edu
Rats! I'll look into it.
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 7 Feb 2010, at 19:49, Jay K wrote:
new source -> compiling RTHooks.m3
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
convert or initialize bit field value?? n_bytes=4 size=32
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
convert or initialize bit field value?? n_bytes=4 size=32
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
convert or initialize bit field value?? n_bytes=4 size=32
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
convert or initialize bit field value?? n_bytes=4 size=32
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
convert or initialize bit field value?? n_bytes=4 size=32
"..\src\runtime\common\RTHooks.m3", line 18: ** INTERNAL CG ERROR *** unable to
- Jay
> Date: Mon, 8 Feb 2010 01:18:13 +0000
> To: m3commit at elegosoft.com
> From: hosking at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: hosking at birch. 10/02/08 01:18:13
>
> Modified files:
> cm3/m3-sys/m3front/src/misc/: CG.m3
>
> Log message:
> Fix bug for constant initialization of LONGINT static data:
>
> MODULE Main;
> VAR a := 1L;
> BEGIN
> END Main.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100208/3c2c5d59/attachment-0002.html>
More information about the M3commit
mailing list