<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all:<br>interestingly, Greg Nelson mentioned here:<br>http://books.google.com.co/books?id=EBW2AAAAIAAJ&q=trestle+%22dec-SRC%22&dq=trestle+%22dec-SRC%22&source=bl&ots=RTsXmdey5q&sig=XENEwmkvSMW3BzyeN9w_68VdcHU&hl=en&redir_esc=y<br><br>that Trestle had some problem in RISC architectures, I wonder what he was referring to, and if they were working in a new design what did they changed.<br><br>Thanks in advance<br><br>--- El <b>lun, 6/8/12, Jay K <i><jay.krell@cornell.edu></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Jay K <jay.krell@cornell.edu><br>Asunto: Re: [M3devel] initializer problem?<br>Para: "m3devel" <m3devel@elegosoft.com><br>Fecha: lunes, 6 de agosto, 2012 18:02<br><br><div id="yiv2060626081">
<style><!--
#yiv2060626081 .yiv2060626081hmmessage P
{
margin:0px;padding:0px;}
#yiv2060626081 body.yiv2060626081hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style><div><div dir="ltr">
I see this fail with the 4.5.x compiler also. FreeBSD/x86. Single proc VM. FreeBSD 9.0 I think. Remoted to Darwin.<br>I'll try to look at it more..<br><br> - Jay<br><br><div><div id="yiv2060626081SkyDrivePlaceholder"></div><hr id="yiv2060626081stopSpelling">From: jay.krell@cornell.edu<br>To: jkrell@elego.de; m3commit@elegosoft.com<br>Date: Mon, 6 Aug 2012 11:17:50 +0000<br>Subject: Re: [M3commit] CVS Update: cm3<br><br>
<style><!--
#yiv2060626081 .yiv2060626081ExternalClass .yiv2060626081ecxhmmessage P
{padding:0px;}
#yiv2060626081 .yiv2060626081ExternalClass body.yiv2060626081ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
Sorry, that isn't the right fix.<br><br>The problem can be better understood like so:<br><br><br> DepthArray = REF ARRAY OF RECORD n := 0 END;<br><br><br> dcount := NEW(DepthArray, 10);<br> FOR i := FIRST(dcount^) TO LAST(dcount^) DO<br> <* ASSERT dcount[i].n = 0 *><br> END;<br><br><br>the assertion fails sometimes. I'll have to keep digging.<br><br><br> - Jay<br><br><br><div><div id="yiv2060626081ecxSkyDrivePlaceholder"></div><hr id="yiv2060626081ecxstopSpelling">From: jay.krell@cornell.edu<br>To: jkrell@elego.de; m3commit@elegosoft.com<br>Date: Mon, 6 Aug 2012 10:58:50 +0000<br>Subject: Re: [M3commit] CVS Update: cm3<br><br>
<style><!--
#yiv2060626081 .yiv2060626081ExternalClass .yiv2060626081ecxhmmessage P
{padding:0px;}
#yiv2060626081 .yiv2060626081ExternalClass body.yiv2060626081ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
Index: VBTRep.m3<br>===================================================================<br>RCS file: /usr/cvs/cm3/m3-ui/ui/src/vbt/VBTRep.m3,v<br>retrieving revision 1.2<br>diff -u -w -r1.2 VBTRep.m3<br>--- VBTRep.m3 17 Mar 2008 03:46:14 -0000 1.2<br>+++ VBTRep.m3 6 Aug 2012 10:56:01 -0000<br>@@ -641,11 +641,13 @@<br> (* All d: dcount[d].n = # VBTs in list with depth at most d. *)<br> WITH v = NEW(REF ARRAY OF VBT.T, n) DO<br> FOR i := 0 TO n - 1 DO<br>+ IF list[i].depth > 0 THEN<br> v[dcount[list[i].depth - 1].n] := list[i].v;<br> INC(dcount[list[i].depth -
1].n);<br> (* All d: dcount[d-1].n = # VBTs in list with depth < d,<br> or with depth = d that have been copied into v. *)<br> END;<br>+ END;<br> (* v has all the VBTs in the list and is sorted by depth *)<br> FOR i := 0 TO n - 1 DO<br> IF Prop.Marked IN v[i].props THEN<br><br><br><br><br><br><div><div id="yiv2060626081ecxSkyDrivePlaceholder"></div>> Date: Mon, 6 Aug 2012 12:58:03 +0000<br>> To: m3commit@elegosoft.com<br>> From: jkrell@elego.de<br>> Subject: [M3commit] CVS Update: cm3<br>> <br>> CVSROOT: /usr/cvs<br>> Changes by: jkrell@birch. 12/08/06
12:58:03<br>> <br>> Modified files:<br>> cm3/m3-ui/ui/src/vbt/: VBTRep.m3 <br>> <br>> Log message:<br>> avoid subscript out of range at line 644<br>> test case is starting up most gui apps on FreeBSD/x86 with gcc 4.7<br>> backend, remoting X to MacOSX 10.5; the distinguishing factor<br>> is probably the relative lack of windows or something funny<br>> with window layering on Mac -- i.e. depth = 0, resulting array<br>> index is -1 and that is invalid<br>> <br>> Trestle experts, please review and think over it more.<br>> <br></div> </div></div> </div></div> </div></div>
</div></blockquote></td></tr></table>