April 09, 2012 [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
http://ftp.digitalmars.com/dmd2beta.zip _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta | ||||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Mon, 09 Apr 2012 10:01:43 +0300, Walter Bright <walter@digitalmars.com> wrote: > http://ftp.digitalmars.com/dmd2beta.zip My projects build now (with warnings disabled), thanks. -- Best regards, Vladimir mailto:vladimir@thecybershadow.net _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | One more regression:
---
struct S {
int n[1];
static S test(){ S ret = void; ret.n[0] = 0; return ret; }
}
enum Test = S.test();
---
ctfe_uninit.d(3): Error: cannot read uninitialized variable ret.n in ctfe
ctfe_uninit.d(3): Error: variable ctfe_uninit.S.test.ret was uninitialized and used before set
There is no hint where the CTFE instantiation that triggered the error is.
Am 09.04.2012 09:01, schrieb Walter Bright:
>
> http://ftp.digitalmars.com/dmd2beta.zip
> _______________________________________________
> dmd-beta mailing list
> dmd-beta@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
| |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Monday, April 09, 2012 00:01:43 Walter Bright wrote: > http://ftp.digitalmars.com/dmd2beta.zip I found another regression while working on one of my projects: http://d.puremagic.com/issues/show_bug.cgi?id=7871 And it's a weird one too. - Jonathan M Davis _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | Another similar case reduced from a large code base (B having no fields does not play a role):
---
struct B {}
struct C { B b; }
C func() { C b = void; b.b = B(); return b; }
C test = func();
---
Assertion failed: (dest->op == TOKstructliteral || dest->op == TOKarrayliteral || dest->op == TOKstring), function assignInPlace, file interpret.c, line 3390.
Am 09.04.2012 09:28, schrieb Sönke Ludwig:
> One more regression:
>
> ---
> struct S {
> int n[1];
> static S test(){ S ret = void; ret.n[0] = 0; return ret; }
> }
>
> enum Test = S.test();
> ---
>
> ctfe_uninit.d(3): Error: cannot read uninitialized variable ret.n in ctfe
> ctfe_uninit.d(3): Error: variable ctfe_uninit.S.test.ret was uninitialized and used before set
>
> There is no hint where the CTFE instantiation that triggered the error is.
>
> Am 09.04.2012 09:01, schrieb Walter Bright:
>>
>> http://ftp.digitalmars.com/dmd2beta.zip
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta@puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
| |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | Shouldn't that say "during compile time"? The term "CTFE" might not be obvious... Regards, Alex On Mon, Apr 9, 2012 at 9:28 AM, Sönke Ludwig <sludwig@outerproduct.org> wrote: > One more regression: > > --- > struct S { > int n[1]; > static S test(){ S ret = void; ret.n[0] = 0; return ret; } > } > > enum Test = S.test(); > --- > > ctfe_uninit.d(3): Error: cannot read uninitialized variable ret.n in ctfe > ctfe_uninit.d(3): Error: variable ctfe_uninit.S.test.ret was uninitialized > and used before set > > There is no hint where the CTFE instantiation that triggered the error is. > > Am 09.04.2012 09:01, schrieb Walter Bright: > >> >> http://ftp.digitalmars.com/dmd2beta.zip >> _______________________________________________ >> dmd-beta mailing list >> dmd-beta@puremagic.com >> http://lists.puremagic.com/mailman/listinfo/dmd-beta > > > _______________________________________________ > dmd-beta mailing list > dmd-beta@puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-beta _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 9 Apr 2012, at 9:01, Walter Bright wrote: > http://ftp.digitalmars.com/dmd2beta.zip Thrift still broken, see the (reopened) http://d.puremagic.com/issues/show_bug.cgi?id=7868. David _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger Attachments:
| Scid is also still broken. http://d.puremagic.com/issues/show_bug.cgi?id=7815 I'm having a pretty tough time reducing a test case for it, because it's the nightmare scenario where the place where the bug is occurring depends in difficult-to-isolate ways on the rest of a decent-sized codebase, Dustmite doesn't seem to be helping and I'm out of town and trying to do it on a 15 inch laptop screen instead of the dual monitor setup I usually use. I'll update my non-reduced test case in Bugzilla momentarily. Is it feasible for someone who knows the compiler internals to debug from such a huge test case, or is it virtually impossible without reducing it first? On Mon, Apr 9, 2012 at 5:38 AM, David Nadlinger <code@klickverbot.at> wrote: > On 9 Apr 2012, at 9:01, Walter Bright wrote: > >> http://ftp.digitalmars.com/**dmd2beta.zip<http://ftp.digitalmars.com/dmd2beta.zip> >> > > Thrift still broken, see the (reopened) http://d.puremagic.com/issues/** show_bug.cgi?id=7868 <http://d.puremagic.com/issues/show_bug.cgi?id=7868>. > > David > > ______________________________**_________________ > dmd-beta mailing list > dmd-beta@puremagic.com > http://lists.puremagic.com/**mailman/listinfo/dmd-beta<http://lists.puremagic.com/mailman/listinfo/dmd-beta> > | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| This still isn't compiling dcollections. Kenji has posted a fix for http://d.puremagic.com/issues/show_bug.cgi?id=7811 I'm going to test with this and see if I can determine what the underlying issue is (of course, 7811 should still be fixed!) -Steve >________________________________ > From: Walter Bright <walter@digitalmars.com> >To: Discuss the dmd beta releases for D <dmd-beta@puremagic.com> >Sent: Monday, April 9, 2012 3:01 AM >Subject: [dmd-beta] D 2.059 beta 4 > > >http://ftp.digitalmars.com/dmd2beta.zip >_______________________________________________ >dmd-beta mailing list >dmd-beta@puremagic.com >http://lists.puremagic.com/mailman/listinfo/dmd-beta > > > | |||
April 09, 2012 Re: [dmd-beta] D 2.059 beta 4 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steve Schveighoffer Attachments:
| I can confirm that Kenji's fix works (oh, I guess you already merged it, cool :) Also, I have found the other issue: http://d.puremagic.com/issues/show_bug.cgi?id=7873 -Steve >________________________________ > From: Steve Schveighoffer <schveiguy@yahoo.com> >To: Discuss the dmd beta releases for D <dmd-beta@puremagic.com> >Sent: Monday, April 9, 2012 11:20 AM >Subject: Re: [dmd-beta] D 2.059 beta 4 > > >This still isn't compiling dcollections. > > >Kenji has posted a fix for http://d.puremagic.com/issues/show_bug.cgi?id=7811 > > >I'm going to test with this and see if I can determine what the underlying issue is (of course, 7811 should still be fixed!) > > >-Steve > > > > >>________________________________ >> From: Walter Bright <walter@digitalmars.com> >>To: Discuss the dmd beta releases for D <dmd-beta@puremagic.com> >>Sent: Monday, April 9, 2012 3:01 AM >>Subject: [dmd-beta] D 2.059 beta 4 >> >> >>http://ftp.digitalmars.com/dmd2beta.zip >>_______________________________________________ >>dmd-beta mailing list >>dmd-beta@puremagic.com >>http://lists.puremagic.com/mailman/listinfo/dmd-beta >> >> >> >_______________________________________________ >dmd-beta mailing list >dmd-beta@puremagic.com >http://lists.puremagic.com/mailman/listinfo/dmd-beta > > | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply