Re: dmd 1.049 and 2.034 release

2009-10-14 Thread Eldar Insafutdinov
Walter Bright Wrote:

> Rainer Schuetze wrote:
> > Hi,
> > 
> > the problem is related to a change that was probably done to improve
> > 
> > http://d.puremagic.com/issues/show_bug.cgi?id=1170
> > 
> > see my comments there for more details.
> 
> I checked into svn a compiler change folding in your patch. Can you try 
> it out with QtD?

I commented on this in the bugzilla on #1170, that I tested QtD with dmd rev 
205 yesterday, and it compiles fine.

Thank you for separate commits!


Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Leandro Lucarella
Walter Bright, el 13 de octubre a las 14:16 me escribiste:
> Rainer Schuetze wrote:
> >Hi,
> >
> >the problem is related to a change that was probably done to improve
> >
> >http://d.puremagic.com/issues/show_bug.cgi?id=1170
> >
> >see my comments there for more details.
> 
> I checked into svn a compiler change folding in your patch. Can you
> try it out with QtD?

Thanks for the small commits :)

BTW, unless you're planning to skip DMD 2.035, I think you increased the
DMD 2 version accidentally to 2.036 ;)

-- 
Leandro Lucarella (AKA luca)  http://llucax.com.ar/
--
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
--
Yeah, I'm a great quitter. It's one of the few things I do well. I come from a
long line of quitters. My father was a quitter, my grandfather was a quitter...
I was raised to give up.
-- George Constanza


Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Walter Bright

Rainer Schuetze wrote:

Hi,

the problem is related to a change that was probably done to improve

http://d.puremagic.com/issues/show_bug.cgi?id=1170

see my comments there for more details.


I checked into svn a compiler change folding in your patch. Can you try 
it out with QtD?


Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Ali Cehreli
> http://www.digitalmars.com/d/2.0/changelog.html

The link within "Download latest D 2.0 alpha  D compiler for Win32 and x86 
linux" is still pointing to 2.027.

Ali



Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Fawzi Mohamed

On 2009-10-13 01:56:11 +0200, Moritz Warning  said:


On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote:


"Moritz Warning"  wrote in message
news:hb01mo$23g...@digitalmars.com...

On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:


"Moritz Warning"  wrote in message
news:havc43$9a...@digitalmars.com...

On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:


[..]

If you're using tango trunk,
then I don't know what the problem is either...


It's trunk.


Maybe this?:
http://www.dsource.org/projects/tango/forums/topic/809


No, this is the first error:

/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to
void*
/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to
void*

Though, these cases work:

class Foo{}
Foo foo = new Foo();
auto x = cast(void*) foo;

A{ void* x(){ return cast(void*)this; } }


yet that is a strange error, I was not really able to reduce it, on one 
side it is clearly a compiler error
(it does not allow cast(void*)this which is valid), on the other all 
smaller cases that I could think of seem to work...


submitted it as
http://d.puremagic.com/issues/show_bug.cgi?id=3392

Fawzi



Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Walter Bright

Rainer Schuetze wrote:

Hi,

the problem is related to a change that was probably done to improve

http://d.puremagic.com/issues/show_bug.cgi?id=1170

see my comments there for more details.


Yeah, makes sense.


Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Rainer Schuetze
Hi,

the problem is related to a change that was probably done to improve

http://d.puremagic.com/issues/show_bug.cgi?id=1170

see my comments there for more details.

Rainer

Eldar Insafutdinov Wrote:

> Walter Bright Wrote:
> 
> > Eldar Insafutdinov wrote:
> > > Despite the application of #3301 patch that fixed compilation of QtD,
> > > the new release introduces a new regression, that causes the compiler
> > > to hang while compiling it. This release therefore remains broken.
> > 
> > What's the bugilla entry?
> 
> I haven't put my hands onto creating a testcase. QtD is very big amount of 
> modules with the pretty uniform code. Some modules import up to 60 other 
> modules. It's difficult to create a testcase out of this, especially as in 
> case of last regressions, which were about module imports.



Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Moritz Warning
On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote:

> "Moritz Warning"  wrote in message
> news:hb01mo$23g...@digitalmars.com...
>> On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:
>>
>>> "Moritz Warning"  wrote in message
>>> news:havc43$9a...@digitalmars.com...
 On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:

>> [..]
>>> If you're using tango trunk,
>>> then I don't know what the problem is either...
>>
>> It's trunk.
> 
> Maybe this?:
> http://www.dsource.org/projects/tango/forums/topic/809

No, this is the first error:

/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to 
void*
/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to 
void*

Though, these cases work:

class Foo{}
Foo foo = new Foo();
auto x = cast(void*) foo;

A{ void* x(){ return cast(void*)this; } }


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Nick Sabalausky
"Moritz Warning"  wrote in message 
news:hb01mo$23g...@digitalmars.com...
> On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:
>
>> "Moritz Warning"  wrote in message
>> news:havc43$9a...@digitalmars.com...
>>> On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:
>>>
> [..]
>> If you're using tango trunk,
>> then I don't know what the problem is either...
>
> It's trunk.

Maybe this?:
http://www.dsource.org/projects/tango/forums/topic/809




Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Moritz Warning
On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:

> "Moritz Warning"  wrote in message
> news:havc43$9a...@digitalmars.com...
>> On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:
>>
[..]
> If you're using tango trunk,
> then I don't know what the problem is either...

It's trunk.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Nick Sabalausky
"Moritz Warning"  wrote in message 
news:havc43$9a...@digitalmars.com...
> On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:
>
>> Folding in patches to compiler faults from bugzilla.
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.049.zip
>>
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.034.zip
>>
>> Many thanks to the numerous people who contributed to this update.
>
> Thanks to Walter and those who contributed all those numerous patches.
>
> But Tango is still broken due to regressions (since 1.047?).
> Maybe someone can take look into this.

Are you using Tango 0.99.8 or trunk? If you're using 0.99.8 then it's 
because DMD 1.044 had some sort of breaking change which Tango did make an 
adjustment to work with, but that was after 0.99.8 came out and they still 
have yet to put out a new release. If you're using tango trunk, then I don't 
know what the problem is either... 




Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Eldar Insafutdinov
Walter Bright Wrote:

> Eldar Insafutdinov wrote:
> > Despite the application of #3301 patch that fixed compilation of QtD,
> > the new release introduces a new regression, that causes the compiler
> > to hang while compiling it. This release therefore remains broken.
> 
> What's the bugilla entry?

I haven't put my hands onto creating a testcase. QtD is very big amount of 
modules with the pretty uniform code. Some modules import up to 60 other 
modules. It's difficult to create a testcase out of this, especially as in case 
of last regressions, which were about module imports.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Moritz Warning
On Mon, 12 Oct 2009 11:24:38 -0700, Walter Bright wrote:

> Moritz Warning wrote:
>> But Tango is still broken due to regressions (since 1.047?).
> 
> What's the bugzilla entry?

I don't know what the regressions are exactly.
It looks like a few different regressions to me.
Unfortunately, I'm short of time.
So someone else has to check it out.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Walter Bright

Moritz Warning wrote:

But Tango is still broken due to regressions (since 1.047?).


What's the bugzilla entry?


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Walter Bright

Eldar Insafutdinov wrote:

Despite the application of #3301 patch that fixed compilation of QtD,
the new release introduces a new regression, that causes the compiler
to hang while compiling it. This release therefore remains broken.


What's the bugilla entry?


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Daniel de Kok

On 2009-10-12 06:43:36 +0200, Walter Bright  said:


Folding in patches to compiler faults from bugzilla.

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.049.zip


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.034.zip

Many thanks to the numerous people who contributed to this update.


Thanks to all involved for the nice stream of bugfixes!



Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Eldar Insafutdinov
Walter Bright Wrote:

> Folding in patches to compiler faults from bugzilla.
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.049.zip
> 
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.034.zip
> 
> Many thanks to the numerous people who contributed to this update.

Despite the application of #3301 patch that fixed compilation of QtD, the new 
release introduces a new regression, that causes the compiler to hang while 
compiling it. This release therefore remains broken.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Moritz Warning
On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:

> Folding in patches to compiler faults from bugzilla.
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.049.zip
> 
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.034.zip
> 
> Many thanks to the numerous people who contributed to this update.

Thanks to Walter and those who contributed all those numerous patches.

But Tango is still broken due to regressions (since 1.047?).
Maybe someone can take look into this.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread #ponce
Walter Bright Wrote:

> Folding in patches to compiler faults from bugzilla.
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.049.zip
> 
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.034.zip
> 
> Many thanks to the numerous people who contributed to this update.

Wow ! Huge thanks for fixing bug #258 ! 
I was going to rewrite all my code.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Don

Ary Borenszweig wrote:

Don wrote:

Walter Bright wrote:

Folding in patches to compiler faults from bugzilla.

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.049.zip


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.034.zip

Many thanks to the numerous people who contributed to this update.


A small milestone -- This release fixes the last remaining compiler 
segfaults and internal compiler errors from DStress.
This will probably be the last "stability release" -- there aren't 
many ICE bugs left in Bugzilla.


Cool!!

Where is DStress so I can download it? I might want to run tests against 
it with Descent (we did that in the past but with an older 
implementation it's no longer in use).


http://www.dsource.org/projects/dstress

Part of my motivation for fixing the crashing bugs was knowing how 
important it is for IDEs.


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Ary Borenszweig

Don wrote:

Walter Bright wrote:

Folding in patches to compiler faults from bugzilla.

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.049.zip


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.034.zip

Many thanks to the numerous people who contributed to this update.


A small milestone -- This release fixes the last remaining compiler 
segfaults and internal compiler errors from DStress.
This will probably be the last "stability release" -- there aren't many 
ICE bugs left in Bugzilla.


Cool!!

Where is DStress so I can download it? I might want to run tests against 
it with Descent (we did that in the past but with an older 
implementation it's no longer in use).


Re: dmd 1.049 and 2.034 release

2009-10-12 Thread Don

Walter Bright wrote:

Folding in patches to compiler faults from bugzilla.

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.049.zip


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.034.zip

Many thanks to the numerous people who contributed to this update.


A small milestone -- This release fixes the last remaining compiler 
segfaults and internal compiler errors from DStress.
This will probably be the last "stability release" -- there aren't many 
ICE bugs left in Bugzilla.


Re: dmd 1.049 and 2.034 release

2009-10-11 Thread Walter Bright

Jeremie Pelletier wrote:

What already? Seems like 2.033 was only a week ago.. oh wait.


It was only a week ago!


Re: dmd 1.049 and 2.034 release

2009-10-11 Thread Jeremie Pelletier

Walter Bright wrote:

Folding in patches to compiler faults from bugzilla.

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.049.zip


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.034.zip

Many thanks to the numerous people who contributed to this update.


What already? Seems like 2.033 was only a week ago.. oh wait.