[Issue 9899] struct with pure/nothrow destructor cannot be used as a struct member in pure/nothrow functions

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9899 --- Comment #2 from github-bugzi...@puremagic.com 2013-04-10 23:46:48 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 9899] struct with pure/nothrow destructor cannot be used as a struct member in pure/nothrow functions

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9899 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9571] link error due to using unique ids in anonymous funcliteral

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9571 Dicebot m.stras...@gmail.com changed: What|Removed |Added Keywords|pull| --- Comment #9 from

[Issue 9916] int*[] implicitly converts to int*

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9916 --- Comment #2 from phyph...@gmail.com 2013-04-11 01:32:09 PDT --- Yes, but the problem is it is compiling without error on 2.062 and that breaks stuff -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 3703] static array assignment

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3703 --- Comment #3 from github-bugzi...@puremagic.com 2013-04-11 01:36:43 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 2356] array literal as non static initializer generates horribly inefficient code.

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2356 --- Comment #18 from github-bugzi...@puremagic.com 2013-04-11 01:36:48 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 9539] Wrong implicit conversion of array to pointer

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9539 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||phyph...@gmail.com

[Issue 9916] int*[] implicitly converts to int*

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9916 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||rejects-valid

[Issue 9918] New: Strang error: void initializers for pointers not allowed in safe functions

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9918 Summary: Strang error: void initializers for pointers not allowed in safe functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 2356] array literal as non static initializer generates horribly inefficient code.

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2356 --- Comment #19 from bearophile_h...@eml.cc 2013-04-11 05:26:29 PDT --- The patch seems to work. With it I have removed five optimizations from my code. Very good. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 2356] array literal as non static initializer generates horribly inefficient code.

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2356 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9919] New: Regression (2.062): Symbol lookup fails with public import and mixin

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9919 Summary: Regression (2.062): Symbol lookup fails with public import and mixin Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 9919] Regression (2.062): Symbol lookup fails with public import and mixin

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9919 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-04-11 06:24:18 PDT --- Created an attachment (id=1207) test-case for Issue 9919 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 9919] Regression (2.062): Symbol lookup fails with public import and mixin

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9919 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords|

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 drug007 drug2...@bk.ru changed: What|Removed |Added CC||drug2...@bk.ru --- Comment #6

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #7 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-04-11 08:13:26 PDT --- (In reply to comment #6) Martin Nowak's fix is the better (simpler and more clear) but I just don't like cast. I've tried his fix and it didn't

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #8 from drug007 drug2...@bk.ru 2013-04-11 08:21:21 PDT --- (In reply to comment #7) (In reply to comment #6) Martin Nowak's fix is the better (simpler and more clear) but I just don't like cast. I've tried his fix and it

[Issue 9920] New: [Optimizer] Use mul/imul for integer division by constant

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 Summary: [Optimizer] Use mul/imul for integer division by constant Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement

[Issue 9921] New: Enum variables of type void should be illegal

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9921 Summary: Enum variables of type void should be illegal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 safety0ff.b...@gmail.com changed: What|Removed |Added CC||safety0ff.b...@gmail.com

[Issue 9901] string return from inner template function error

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9901 --- Comment #2 from github-bugzi...@puremagic.com 2013-04-11 10:44:15 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 9901] string return from inner template function error

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9901 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 9922] New: Improve symbol emitting for templates for better separate compilation support

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9922 Summary: Improve symbol emitting for templates for better separate compilation support Product: D Version: unspecified Platform: All OS/Version: All Status: NEW

[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 --- Comment #2 from Dmitry Olshansky dmitry.o...@gmail.com 2013-04-11 11:16:38 PDT --- (In reply to comment #1) Dupe of 5607 ? 5607 is a special case of this enhancement. This one is generalization since any division by constant can be

[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 --- Comment #3 from bearophile_h...@eml.cc 2013-04-11 11:33:55 PDT --- (In reply to comment #2) any division by constant can be optimized. I didn't know this. I'd say this one supersedes 5607, so how about merge your example here and

[Issue 5607] Slow small integer division

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5607 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 --- Comment #4 from Dmitry Olshansky dmitry.o...@gmail.com 2013-04-11 12:28:08 PDT --- *** Issue 5607 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 9866] movsxd not supported

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9866 John Colvin john.loughran.col...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9866] movsxd not supported

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9866 --- Comment #1 from John Colvin john.loughran.col...@gmail.com 2013-04-11 23:27:05 BST --- Thanks Martin. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 9923] New: [ICE] (interpret.c line 167) with countUntil on Typedef[]

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9923 Summary: [ICE] (interpret.c line 167) with countUntil on Typedef[] Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords:

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment

[Issue 9922] Improve symbol emitting for templates for better separate compilation support

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9922 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment

[Issue 9924] New: Handy enum accessors

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9924 Summary: Handy enum accessors Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos

[Issue 9924] Handy enum accessors

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9924 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 9924] Handy enum accessors

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9924 --- Comment #3 from bearophile_h...@eml.cc 2013-04-11 18:51:20 PDT --- If you remove FirstMember and LastMember the whatBeats() function: static Choice whatBeats(in Choice ch) /*pure nothrow*/ { if (ch == LastMember!Choice)

[Issue 259] Comparing signed to unsigned does not generate an error

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #47 from Lionello Lunesu lio+bugzi...@lunesu.com 2013-04-11 19:24:53 PDT --- https://github.com/D-Programming-Language/dmd/pull/1889 There are many things silently(!) breaking, though, as some templates are not being chosen because

[Issue 9924] Handy enum accessors

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9924 --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2013-04-11 19:37:02 PDT --- (In reply to comment #2) But note FirstElement is present in Phobos, it's named std.array.front: front() is there to support ranges, it is not a shorthand

[Issue 259] Comparing signed to unsigned does not generate an error

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #48 from Lionello Lunesu lio+bugzi...@lunesu.com 2013-04-11 19:42:37 PDT --- // For the record: my test cases. Will add/fix existing unittests as well. import std.traits; int i; uint ui; long l; ulong ul; // 0. same-signed-ness

[Issue 9924] Handy enum accessors

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9924 --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2013-04-11 19:47:44 PDT --- For similar reasons, I don't see a compelling case for nextMember or prevMember, either. I expect that an algorithm needing the next or previous member