<html><head></head><body bgcolor="#FFFFFF"><div>This existed pre-cog I did talk to apple's llvm folks who told me to figure out where the compiler creates the bad code. &nbsp; Oh sure... &nbsp;Perhaps you could take a pre cog/stack vm from 2 years back and confirm it's broken before smacking them with extras like alloca, code generation etc..&nbsp;<br><br>Sent from my iPhone</div><div><br>On Apr 3, 2012, at 12:24 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 8:29 AM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@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>
ok i found why: i was using llvm compiler, not vanilla gcc.<br>
<br>
but we should make it work on llvm eventually, </blockquote><div><br></div><div>I agree, and I put some effort into this, managing to get something that starts up at -O1 (I think) but not at -O2 (or at -O0 but not at -O1). &nbsp;I *think* this might be a bug in llvm, because the Cogit is pretty aggressive in its use of alloca. &nbsp;I should try and make a report for the llvm maintainers. &nbsp;Either I'll find out I've made a mistake or they'll fix the bug ;) &nbsp;Biut finding the time is as always the issue :)</div>
<div><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">since Apple seems to be<br>
dropping support of old gcc compilers:<br>
<br>
<a href="http://stackoverflow.com/questions/8707367/using-gcc-not-llvm-gcc-with-mac-os-x-lion" target="_blank">http://stackoverflow.com/questions/8707367/using-gcc-not-llvm-gcc-with-mac-os-x-lion</a><br>
<div><div></div><div class="h5"><br>
--<br>
Best regards,<br>
Igor Stasenko.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</div></blockquote></body></html>