Ok, yeah, you're right. Getting rid of the code to strip off the = solves this. Thanks. I've checked in the fix, after testing that it builds properly on the beta. Everything should be fine now.<br><br><div class="gmail_quote">
On Fri, Jun 11, 2010 at 4:17 PM, Don Clugston <span dir="ltr"><<a href="mailto:dclugston@googlemail.com">dclugston@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 11 June 2010 18:50, David Simcha <<a href="mailto:dsimcha@gmail.com">dsimcha@gmail.com</a>> wrote:<br>
> Ok, I see why. I had 2.046 and the beta installed concurrently, and I<br>
> forgot to point my path variable at the beta before building Phobos. Now I<br>
> can reproduce this, both using the Phobos build scripts and compiling the<br>
> file individually with unittests turned on from Codeblocks. It still works<br>
> fine on 2.046, though I did notice that DMD does take a while to<br>
> (successfully) compile it and uses ~60 MB of memory. It looks like a<br>
> compiler regression, or else CustomFloat was relying on a bug that got<br>
> fixed.<br>
<br>
</div>It seems to be a recursive mixin. Every time it's instantiated, it<br>
gets 4 bytes bigger.<br>
Seems to be triggered by opOpAssign; maybe it's the change to<br>
opOpAssign in this release: "+=" was passed to opOpAssign<br>
now it's "+". There's code in opOpAssign which is clearly wrong - it's<br>
stripping off the "=", which no longer exists.<br>
<br>
If you don't think you can fix this really quickly, I think we should<br>
remove it completely from this release, and wait until the next one.<br>
It doesn't seem urgent to me, but getting a release out is urgent.<br>
<div><div></div><div class="h5">_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></div></blockquote></div><br>