[Issue 6620] argument evaluation order inversed for extern(C)

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6620 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code

[Issue 13560] New: Several functions in std.uni can violate memory safety

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13560 Issue ID: 13560 Summary: Several functions in std.uni can violate memory safety Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 11806] Freeze in GC.collect() in in-contracts when multithreading is used

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11806 badlink andrea.9...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 4890] GC.collect() deadlocks multithreaded program.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4890 --- Comment #29 from badlink andrea.9...@gmail.com --- Also present in DMD 2.067.0-b1. Stacktrace of the sample program in comment 10: http://pastebin.com/4mudSeEX --

[Issue 11216] Make synchronized statement `nothrow`

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11216 Martin Nowak c...@dawg.eu changed: What|Removed |Added Priority|P2 |P5 CC|

[Issue 13561] New: enumProcessThreads should be nothrow

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13561 Issue ID: 13561 Summary: enumProcessThreads should be nothrow Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority:

[Issue 11216] Make synchronized statement `nothrow`

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11216 Martin Nowak c...@dawg.eu changed: What|Removed |Added Blocks||13561 --

[Issue 11806] Freeze in GC.collect() in in-contracts when multithreading is used

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11806 badlink andrea.9...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 4890] GC.collect() deadlocks multithreaded program.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4890 badlink andrea.9...@gmail.com changed: What|Removed |Added CC||christ...@nerdtools.de ---

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #23

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #24 from Martin Nowak c...@dawg.eu --- In other words, this optimizes the following code foreach (_; 0 .. 1_000_000) aa.byKey(); but pessimizes the following aa.remove(key); It does NOT improve iterating byKey. So

[Issue 13562] New: [Enh] add permute[=seed] command line argument to dmd

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13562 Issue ID: 13562 Summary: [Enh] add permute[=seed] command line argument to dmd Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #25 from Ketmar Dark ket...@ketmar.no-ip.org --- and we can make it alot less expensive without losing speed. and all this with only 4/8 bytes of overhead for single AA (not for single AA entry, but for the whole AA). the only

[Issue 649] concatenation hangs in threaded program

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=649 badlink andrea.9...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #26 from bearophile_h...@eml.cc --- (In reply to Martin Nowak from comment #24) So unless there is a valid use case to call aa.byKey.front in a loop this would only improve a pointless microbenchmark. See here, it's not just a

[Issue 13458] std.utf.decode not @nogc

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13458 --- Comment #1 from Robert Schadek rburn...@gmail.com --- http://forum.dlang.org/post/nmekkwvomoztshgla...@forum.dlang.org --

[Issue 13558] GC.free does not work for array pointers of larger size

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13558 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added CC|

[Issue 13563] New: ICE with opIndexAssign op-overloading and ModuleScopeOperator

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13563 Issue ID: 13563 Summary: ICE with opIndexAssign op-overloading and ModuleScopeOperator Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 13563] ICE with opIndexAssign op-overloading and ModuleScopeOperator

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13563 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 13356] [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13356 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||ice, pull

[Issue 6620] argument evaluation order inversed for extern(C)

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6620 --- Comment #4 from Kenji Hara k.hara...@gmail.com --- (In reply to Kenji Hara from comment #3) https://github.com/D-Programming-Language/dmd/pull/4035 A small supplemental documentation fix:

[Issue 13563] ICE with opIndexAssign op-overloading and ModuleScopeOperator

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13563 John Colvin john.loughran.col...@gmail.com changed: What|Removed |Added CC|

[Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2043 Gabor Mezo gabor.m...@outlook.com changed: What|Removed |Added CC||gabor.m...@outlook.com

[Issue 13525] Redundant SpecialKeyword grammar listd in DefaultInitializerExpression

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13525 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13525] Redundant SpecialKeyword grammar listd in DefaultInitializerExpression

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13525 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/0b4db24b5b07c3051bcf6c06860774d48be77f11 fix Issue 13525

[Issue 10233] [Tracker] Grammar issues

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10233 Issue 10233 depends on issue 13525, which changed state. Issue 13525 Summary: Redundant SpecialKeyword grammar listd in DefaultInitializerExpression https://issues.dlang.org/show_bug.cgi?id=13525 What|Removed

[Issue 13433] Request: Clock.currTime option to use CLOCK_REALTIME_COARSE / CLOCK_REALTIME_FAST

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13433 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 13433] Request: Clock.currTime option to use CLOCK_REALTIME_COARSE / CLOCK_REALTIME_FAST

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13433 Marco Leise marco.le...@gmx.de changed: What|Removed |Added CC||marco.le...@gmx.de ---

[Issue 12985] Better error message for not supported array operation

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12985 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull Hardware|x86

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #27 from hst...@quickfur.ath.cx --- @bearophile: perhaps that's an indication that what you want is actually an *ordered* map, not a hash map? --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #28 from Steven Schveighoffer schvei...@yahoo.com --- New simpler pull which shouldn't affect performance of aa.remove https://github.com/D-Programming-Language/druntime/pull/979 --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #29 from bearophile_h...@eml.cc --- (In reply to hsteoh from comment #27) @bearophile: perhaps that's an indication that what you want is actually an *ordered* map, not a hash map? Nope. If you take a look at the link, that code

[Issue 13564] New: nested struct destructor trying to access members of a global class fail to compile

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13564 Issue ID: 13564 Summary: nested struct destructor trying to access members of a global class fail to compile Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #30 from Steven Schveighoffer schvei...@yahoo.com --- bearophile or ketmar, can you test the new PR? The timings I get on my system are not very different from the original. --

[Issue 13565] New: add AA batch remove using a predicate function

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13565 Issue ID: 13565 Summary: add AA batch remove using a predicate function Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 13554] adding ExitError which can be thrown to 'exit with exit code'

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13554 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 13554] adding ExitError which can be thrown to 'exit with exit code'

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13554 --- Comment #2 from hst...@quickfur.ath.cx --- Maybe you could attach your patch to the other issue and close this one as a duplicate? --

[Issue 13555] Categorize functions in std.math

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13555 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #31 from Martin Nowak c...@dawg.eu --- (In reply to bearophile_hugs from comment #29) Nope. If you take a look at the link, that code doesn't need an ordered container. The pop operation just needs to give one arbitrary item. Take an

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 --- Comment #32 from bearophile_h...@eml.cc --- (In reply to Martin Nowak from comment #31) (In reply to bearophile_hugs from comment #29) Nope. If you take a look at the link, that code doesn't need an ordered container. The pop operation just

[Issue 13566] New: std.algorithm.cmp treats string length as element

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13566 Issue ID: 13566 Summary: std.algorithm.cmp treats string length as element Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major

[Issue 13566] std.algorithm.cmp treats string length as element

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13566 Ali Cehreli acehr...@yahoo.com changed: What|Removed |Added Priority|P1 |P3 --

[Issue 13555] Categorize functions in std.math

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13555 Mark Isaacson marki...@umich.edu changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 13567] New: Attribute inference for private functions

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13567 Issue ID: 13567 Summary: Attribute inference for private functions Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 13567] Attribute inference for private functions

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13567 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 13548] wrong FP comparison

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13548 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13537] Unions may break immutability

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13537 --- Comment #1 from hst...@quickfur.ath.cx --- Basically, immutable cannot be allowed to overlap with anything mutable, otherwise there will be a way to break the immutability guarantee. --

[Issue 13410] Performance problem with associative array byKey/byValue

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13410 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC|ket...@ketmar.no-ip.org | --- Comment #33 from

[Issue 3462] Add a clean way to exit a process.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3462 --- Comment #13 from Ketmar Dark ket...@ketmar.no-ip.org --- *** Issue 13554 has been marked as a duplicate of this issue. *** --

[Issue 3462] Add a clean way to exit a process.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3462 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 13554] adding ExitError which can be thrown to 'exit with exit code'

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13554 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13468] std.algorithm.canFind(null) fails with class

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13468 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 13468] std.algorithm.canFind(null) fails with class

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13468 --- Comment #2 from hst...@quickfur.ath.cx --- Actually it's quite simple. The expression a == b, in the case of classes, is lowered into a.opEquals(b). Since a is null when find/canFind gets to a null element in the array, opEquals is invoked with a

[Issue 13556] inconsistent 'new' syntax for arrays

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13556 --- Comment #3 from Kenji Hara k.hara...@gmail.com --- (In reply to bearophile_hugs from comment #1) I suspect that the array creation syntax is an unfixable mess. new int[256][256] can also be generate a pointer to fixed size array

[Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly.

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2043 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||and...@erdani.com ---

[Issue 8621] Iteration variable in foreach not closed upon properly in delegate

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8621 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED