[Issue 4904] Win32 phobos unittest crashes with access violation

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4904



--- Comment #7 from Rainer Schuetze r.sagita...@gmx.de 2011-05-29 23:39:00 
PDT ---
The optlink fix for 3372 increased the number of allowed symbols for each OMF
object file from 16384 to 32768. So expect to hit that limit too with growing
projects built into a single object file. In that case the compiler now reports
an error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6074] Assert expressions shouldn't have side effects

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6074



--- Comment #8 from Walter Bright bugzi...@digitalmars.com 2011-05-30 
01:34:52 PDT ---
(In reply to comment #5)
 A reminder: forbidding side effects in asserts is useful for static
 analyzability of the asserts. Languages that take Contracts seriously don't
 allow generic code in Contracts right to allow a simpler analyzability. They
 even define a specific expression language for this purpose.


It is not necessary to disallow impure asserts to do static analysis.

Nor is it an issue of taking asserts seriously or not.

BTW, the optimizer already does quite a bit of static analysis. That's what
optimizers do. Of course an optimizer doesn't require everything to be pure. It
would be a fairly useless one if it did.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5708] Incorrect string constant folding with -inline

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5708


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


--- Comment #14 from Don clugd...@yahoo.com.au 2011-05-30 07:54:25 PDT ---
I think there was something wrong with that test case, it wasn't instantiating
the template. Here's a reduced test case:

string b(string s) { return s; }
string a(string s) { return b(s); }

void bug5708() {
void m() { a(lit); }
static assert(a(foo) == foo);
static assert(a(bar) == bar);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3792] Regression(1.053) non-constant expression for a template inside a struct using a struct initializer

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3792


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #9 from Don clugd...@yahoo.com.au 2011-05-30 07:58:57 PDT ---
Fixed DMD2.053

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6054] [CTFE] ICE when returning a returned compile-time associative array containing a key of an idup-ed array literal

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6054


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||FIXED


--- Comment #2 from Don clugd...@yahoo.com.au 2011-05-30 16:58:36 PDT ---
https://github.com/D-Programming-Language/dmd/commit/6acc4822c0b3c2a43d2bbe47c7018b078aee93c9

D1:
https://github.com/D-Programming-Language/dmd/commit/bccb02ad1d8578767f99efeab4a230a229e24392

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5954] [CTFE] enum structs with ctor

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5954


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||FIXED


--- Comment #2 from Don clugd...@yahoo.com.au 2011-05-30 16:55:58 PDT ---
https://github.com/D-Programming-Language/dmd/commit/068ae6ec8f06060f52c6f0ae860476a7e10cb464

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6052] [CTFE] Structs elements in an array are treated like reference type

2011-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6052


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||FIXED


--- Comment #2 from Don clugd...@yahoo.com.au 2011-05-30 17:02:43 PDT ---
A related test case which also fails, but involves static arrays rather than
structs:

bool bug6052b() {
int[][1] arr;
int[1] z = [7];
arr[0] = z;
assert(arr[0][0] == 7);
arr[0] = z;
z[0] = 3;
assert(arr[0][0] == 3);
return true;
}

static assert(bug6052b());


https://github.com/D-Programming-Language/dmd/commit/bccb02ad1d8578767f99efeab4a230a229e24392

Case b:
https://github.com/D-Programming-Language/dmd/commit/2ee56a0038ccac3b2225b7feda9d69798cc203e3

D1:
https://github.com/D-Programming-Language/dmd/commit/bccb02ad1d8578767f99efeab4a230a229e24392

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---