[Issue 12509] Compiler performance highly depends on declared array size - for struct with long static array of structs
https://d.puremagic.com/issues/show_bug.cgi?id=12509 Kenji Hara changed: What|Removed |Added Keywords||performance, pull --- Comment #4 from Kenji Hara 2014-04-05 23:20:11 PDT --- https://github.com/D-Programming-Language/dmd/pull/3425 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12523] wrong foreach argument type with ref and inout
https://d.puremagic.com/issues/show_bug.cgi?id=12523 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12523] wrong foreach argument type with ref and inout
https://d.puremagic.com/issues/show_bug.cgi?id=12523 --- Comment #3 from github-bugzi...@puremagic.com 2014-04-05 22:58:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b8669836b696742709042aaa1b4cf4c8970bcc57 fix Issue 12523 - wrong type deduced for foreach ref argument - No need to change the storage class because the var type already has inferred modifiers. https://github.com/D-Programming-Language/dmd/commit/6d10394b33fea5e20a946b6f748239ee4a0e5076 Merge pull request #3424 from MartinNowak/fix12523 fix Issue 12523 - wrong type deduced for foreach ref argument -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11777] [ICE] dmd memory corruption as `Scope::pop` `free`s `fieldinit` used also in `enclosing`
https://d.puremagic.com/issues/show_bug.cgi?id=11777 Kenji Hara changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10351] [GC] GC deadlocks in thread_suspendAll()
https://d.puremagic.com/issues/show_bug.cgi?id=10351 Marco Leise changed: What|Removed |Added Status|NEW |RESOLVED Resolution||REMIND --- Comment #2 from Marco Leise 2014-04-05 19:02:29 PDT --- Closing this for now without a test case. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9148] 'pure' is broken
https://d.puremagic.com/issues/show_bug.cgi?id=9148 --- Comment #2 from timon.g...@gmx.ch 2014-04-05 14:31:07 PDT --- (In reply to comment #0) > > struct S{ > int x; > int foo()pure{ > return x++; > } > int bar()immutable pure{ > // return x++; // error > return 2; > } > } > (this behaviour is obviously expected.) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12509] Compiler performance highly depends on declared array size - for struct with long static array of structs
https://d.puremagic.com/issues/show_bug.cgi?id=12509 --- Comment #3 from Vladimir Panteleev 2014-04-05 18:40:29 EEST --- Introduced in https://github.com/D-Programming-Language/dmd/pull/2605 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12525] New: Code takes longer than it should to compile
https://d.puremagic.com/issues/show_bug.cgi?id=12525 Summary: Code takes longer than it should to compile Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: michaelpm...@gmail.com --- Comment #0 from Michael M 2014-04-05 08:29:57 PDT --- Test case below _ enum SIZE = 0x1; struct a { int member; } struct b { a[SIZE] array; } void main(){} -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12525] Code takes longer than it should to compile
https://d.puremagic.com/issues/show_bug.cgi?id=12525 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED CC||andrej.mitrov...@gmail.com Resolution||DUPLICATE --- Comment #1 from Andrej Mitrovic 2014-04-05 17:30:56 CEST --- *** This issue has been marked as a duplicate of issue 12509 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12509] Compiler performance highly depends on declared array size - for struct with long static array of structs
https://d.puremagic.com/issues/show_bug.cgi?id=12509 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com Severity|normal |regression --- Comment #2 from Vladimir Panteleev 2014-04-05 18:32:03 EEST --- This is a regression in 2.064.2. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12509] Compiler performance highly depends on declared array size - for struct with long static array of structs
https://d.puremagic.com/issues/show_bug.cgi?id=12509 Andrej Mitrovic changed: What|Removed |Added CC||michaelpm...@gmail.com --- Comment #1 from Andrej Mitrovic 2014-04-05 17:30:56 CEST --- *** Issue 12525 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11777] [ICE] dmd memory corruption as `Scope::pop` `free`s `fieldinit` used also in `enclosing`
https://d.puremagic.com/issues/show_bug.cgi?id=11777 --- Comment #13 from github-bugzi...@puremagic.com 2014-04-05 05:20:29 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/684b84bc3e1635ec8805b9322a440776a50807d0 fix Issue 11777 - [ICE] dmd memory corruption as `Scope::pop` `free`s `fieldinit` used also in `enclosing` https://github.com/D-Programming-Language/dmd/commit/fe52711238588d01b996135aff5f49712c5f2756 Merge pull request #3423 from 9rnsr/fix11777 [REG2.065] Issue 11777 - [ICE] dmd memory corruption as `Scope::pop` `free`s `fieldinit` used also in `enclosing` -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12000] Forward reference issue with RefCounted
https://d.puremagic.com/issues/show_bug.cgi?id=12000 --- Comment #7 from monarchdo...@gmail.com 2014-04-05 04:39:34 PDT --- https://github.com/D-Programming-Language/phobos/pull/2070 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12000] Forward reference issue with RefCounted
https://d.puremagic.com/issues/show_bug.cgi?id=12000 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- Comment #6 from monarchdo...@gmail.com 2014-04-05 04:24:32 PDT --- See also: http://forum.dlang.org/thread/wokatnixzkulvmfuj...@forum.dlang.org Reduced to: // struct S(T) { static assert(hasIndirections!T); } class A(T) { S!A a; } A!int dummy; // In this case, it should work, since you don't need to know about A to know that it's a class, and as such, is an indirection. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12442] inefficient code with scope(exit)
https://d.puremagic.com/issues/show_bug.cgi?id=12442 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #3 from Martin Nowak 2014-04-05 04:13:57 PDT --- The inefficiency comes from the extra call for the finally block, but we need a good idea how to make it cheaper. Maybe it's somehow possible to inline the finally block for the normal control flow. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12524] New: wrong type with inout const arg and inout return
https://d.puremagic.com/issues/show_bug.cgi?id=12524 Summary: wrong type with inout const arg and inout return Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak 2014-04-05 03:57:10 PDT --- cat > bug.d << CODE inout(int) dup(inout(const(int)) val) { return val; } pragma(msg, typeof(dup)); void foo(inout(int)) { inout(const(int)) val; auto bug = dup(val); pragma(msg, typeof(bug)); static assert(is(typeof(bug) == inout(int))); } CODE dmd -c bug Error: static assert (is(inout(const(int)) == inout(int))) is false Interestingly enough the type of the function is correct, but the type of the call expression remains inout(const(int)). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12523] false type deduced with inout append
https://d.puremagic.com/issues/show_bug.cgi?id=12523 Martin Nowak changed: What|Removed |Added Keywords||pull --- Comment #2 from Martin Nowak 2014-04-05 03:09:51 PDT --- https://github.com/D-Programming-Language/dmd/pull/3424 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12523] false type deduced with inout append
https://d.puremagic.com/issues/show_bug.cgi?id=12523 --- Comment #1 from Martin Nowak 2014-04-05 02:30:24 PDT --- The const is added here. https://github.com/D-Programming-Language/dmd/blob/aac09e539f7c3d9bd882d05f5c331f64733c6a29/src/statement.c#L1602 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12523] New: false type deduced with inout append
https://d.puremagic.com/issues/show_bug.cgi?id=12523 Summary: false type deduced with inout append Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak 2014-04-05 02:14:56 PDT --- cat > bug.d << CODE inout(T)[] dup(T)(inout(T)[] a) { inout(T)[] res; foreach (ref e; a) // works without ref res ~= e; return res; } struct S { void *p; } void foo() { S[] m; m = dup(m); } CODE dmd -c bug.d Error: cannot append type inout(const(S)) to type inout(S)[] -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---