<div dir="ltr">Thanks Nicolas,<div><br></div><div>    I did find a couple of others.  My bad :(</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 3:37 PM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div dir="ltr">Jamais deux sans trois<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-18 23:33 GMT+01:00 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br></div>Among the compiler warnings, I noticed an incorrect usage of || in generated C:<br></div>in okayOoop:<br><div><br>    unusedBits = (1 &lt;&lt; 22) || (1LL &lt;&lt; (22 + 32));<br>    if (((long64At(oop)) &amp; unusedBits) != 0) {<br>        error(&quot;some unused header bits are set; should be zero&quot;);<br>        return 0;<br>    }<br>    unusedBitsInYoungObjects = ((1 &lt;&lt; 0x1F) || (1 &lt;&lt; 30)) || (1 &lt;&lt; 29);<br>    if (((longAt(oop)) &amp; unusedBitsInYoungObjects) != 0) {<br>        error(&quot;some header bits unused in young objects are set; should be zero&quot;);<br>        return 0;<br><br></div><div>C || will generate 1 in this case (true) but not the intended bit mask.<br></div><div>This is because Smalltalk slang is written with | instead of bitOr:<br><br></div><div>Find correction in attachment.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>Nicolas<br></div></font></span></div>
</blockquote></div><br></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div>