[dmd-beta] dmd 2.049 beta
David Simcha
dsimcha at gmail.com
Tue Sep 14 18:06:47 PDT 2010
I've found the offending lines of code and committed a workaround to
Phobos. DFL now compiles properly. Obviously the underlying bug is in
DMD, not Phobos, but I suggest we go ahead w/ this release anyhow because:
1. I have no freakin' clue how to even reproduce the underlying DMD bug
in a reasonably small test case, let alone fix it. About all I know is
that it's somehow related to auto returns (because that's what "solved"
the problem when I changed it in Phobos). My gut feeling is that this
is probably one of those bugs that only shows up under a very weird
combination of circumstances, such that it's very unlikely anyone will
run into it.
2. It's not a regression (or at least not a recent one) because the bug
shows up using 2.048 DMD with recent SVNs of Phobos.
On 9/14/2010 7:55 PM, David Simcha wrote:
>
>> Issues:
>> (Major) Compiling DFL crashes DMD on dfl's socket.d. This is
>> related to changes in Phobos, not DMD. Compiling DFL with DMD 2.049
>> + Phobos 2.049 OR DMD 2.048 + SVN Phobos crashes DMD, but compiling
>> w/ DMD 2.048 + Phobos 2.048 doesn't. I'm working on figuring out
>> exactly when/how this broke. I will keep the list posted.
>>
>
> Ok, I've done the dirty work of binary searching through revisions to
> find the one that actually broke this. It's Phobos revision 1923
> (http://dsource.org/projects/phobos/changeset/1923). If I use DMD
> 2.049 + druntime 2.049 + Phobos SVN 1922, DFL compiles fine. If I use
> DMD 20.49 + druntime 2.049 + Phobos SVN 1923, the compiler just hard
> crashes without any error message whatsoever on Windows 7.
More information about the dmd-beta
mailing list