[Issue 9097] Value range propagation to disable some array bound tests

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

[Issue 9097] Value range propagation to disable some array bound tests

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9097 --- Comment #2 from github-bugzi...@puremagic.com 2013-07-08 22:57:46 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10573] Weird linking problem with associative array cast [DMD 2.63]

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10573 --- Comment #3 from Daniel Kozak kozz...@gmail.com 2013-07-08 23:20:16 PDT --- (In reply to comment #2) Btw, I'd be very careful using casts on hashes like that, there's no runtime checking when you cast hashes, even if the key or value is a

[Issue 10580] spawnShell/pipeShell changes some environment variables (incl. PATH)

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10580 --- Comment #2 from thelastmamm...@gmail.com 2013-07-08 23:43:37 PDT --- furthermore the output of command env is returned in a different order -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 10580] spawnShell/pipeShell changes some environment variables (incl. PATH)

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10580 --- Comment #1 from thelastmamm...@gmail.com 2013-07-08 23:41:59 PDT --- it also changes these (at least on OSX): MANPATH SHLVL ( this one is normal though) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 10380] Wrong code using associative array as key type in associative array

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10380 --- Comment #4 from Denis Shelomovskij verylonglogin@gmail.com 2013-07-09 10:49:34 MSD --- (In reply to comment #3) Do you have any failing unittest for this bug? I can't seem to reproduce the problem in git HEAD. It's hard to create

[Issue 10481] out of memory error

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

[Issue 10481] out of memory error

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10481 --- Comment #3 from github-bugzi...@puremagic.com 2013-07-09 00:40:49 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10579] regression 062=063: Cannot interpret TypeInfo at compile time

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10579 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||CTFE, ice, pull ---

[Issue 10550] Xorshift32 and Xorshift160 do not generate uniformly-distributed random numbers

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10550 --- Comment #15 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net 2013-07-09 01:04:56 PDT --- Masahiro -- thanks so much for your fast attention to this. :-) -- Configure issuemail:

[Issue 10579] regression 062=063: Cannot interpret TypeInfo at compile time

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10579 --- Comment #2 from github-bugzi...@puremagic.com 2013-07-09 01:10:06 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10579] regression 062=063: Cannot interpret TypeInfo at compile time

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10579 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9982] ICE on CTFE for pointer dereference

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9982 Don clugd...@yahoo.com.au changed: What|Removed |Added Version|D2 |D1 D2

[Issue 10567] Typeinfo.compare has unreasonable signature requirements on opCmp

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10567 --- Comment #5 from github-bugzi...@puremagic.com 2013-07-09 02:47:53 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 9097] Value range propagation to disable some array bound tests

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9097 --- Comment #3 from bearophile_h...@eml.cc 2013-07-09 03:15:11 PDT --- In past dmd generated this with dmd -O -inline -release -noboundscheck: __Dmain: sub ESP, 0330h mov ECX, 0C8h push EDI mov EAX, 0338h[ESP] add EAX,

[Issue 10574] auto ref fails to match when IFTI succeeds (strip to level const)

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10574 --- Comment #4 from monarchdo...@gmail.com 2013-07-09 03:56:35 PDT --- (In reply to comment #3) (In reply to comment #2) Just an educated guess. The problem seems to be that the value is a L-value so the signature becomes (ref T[])

[Issue 10577] 2.063 Mixin Regression (works with 2.062)

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10577 --- Comment #3 from github-bugzi...@puremagic.com 2013-07-09 05:58:39 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10380] Wrong code using associative array as key type in associative array

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10380 --- Comment #5 from hst...@quickfur.ath.cx 2013-07-09 06:44:21 PDT --- I have a fix for this, but I need to somehow make a unittest to verify that it actually fixes the problem. Maybe we can somehow craft a unittest using typeid(aa).compare?

[Issue 10380] Wrong code using associative array as key type in associative array

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10380 --- Comment #7 from hst...@quickfur.ath.cx 2013-07-09 07:58:00 PDT --- I figured out a way to test for broken .compare: make an AA key type that overrides both opEquals and opCmp, and deliberately have wrong implementation for opCmp. --

[Issue 10380] Wrong code using associative array as key type in associative array

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10380 --- Comment #6 from hst...@quickfur.ath.cx 2013-07-09 07:56:57 PDT --- https://github.com/D-Programming-Language/druntime/pull/544 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 10581] New: Undefined identifier std.uni.isWhite when passing string lambda to std.algorithm.filter

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10581 Summary: Undefined identifier std.uni.isWhite when passing string lambda to std.algorithm.filter Product: D Version: D2 Platform: x86 OS/Version: Windows Status:

[Issue 7013] Mutable interface for BigInts

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7013 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 7012] Pure vector operations

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7012 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 7010] Purity of map and filter

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7010 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6829] Unsigned rotate standard function in Phobos

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6829 --- Comment #1 from hst...@quickfur.ath.cx 2013-07-09 09:05:22 PDT --- The implementation should probably go into std.bitmanip or core.bitop. What's the pattern that DMD recognizes for rotate instructions? -- Configure issuemail:

[Issue 10582] New: Programmed and Compiler generated symbols clash.

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10582 Summary: Programmed and Compiler generated symbols clash. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7013] Mutable interface for BigInts

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7013 --- Comment #2 from bearophile_h...@eml.cc 2013-07-09 09:57:35 PDT --- (In reply to comment #1) In latest git HEAD, the following works: import std.bigint; void main() { BigInt x = 123; BigInt y = 321; x += y;

[Issue 7012] Pure vector operations

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7012 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7013] Mutable interface for BigInts

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7013 --- Comment #4 from hst...@quickfur.ath.cx 2013-07-09 10:07:34 PDT --- You're right, I looked at the code for BigInt, every time you do +=, it allocates a new underlying buffer. That's pretty inefficient if you're using these operations in an

[Issue 7013] Mutable interface for BigInts

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7013 --- Comment #3 from bearophile_h...@eml.cc 2013-07-09 09:58:59 PDT --- (In reply to comment #2) When you perform x+=y; the data inside x probably doesn't change. I meant the original x. -- Configure issuemail:

[Issue 10581] Undefined identifier std.uni.isWhite when passing string lambda to std.algorithm.filter

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10581 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6829] Unsigned rotate standard function in Phobos

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6829 --- Comment #2 from bearophile_h...@eml.cc 2013-07-09 10:13:38 PDT --- (In reply to comment #1) What's the pattern that DMD recognizes for rotate instructions? Walter offers this example of recognizable rotation: void test236() { uint

[Issue 7013] Mutable interface for BigInts

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7013 --- Comment #5 from bearophile_h...@eml.cc 2013-07-09 10:24:39 PDT --- (In reply to comment #4) You're right, I looked at the code for BigInt, every time you do +=, it allocates a new underlying buffer. That's pretty inefficient if you're

[Issue 10583] New: DMD 2.063 dumps core with mixins involving __traits(getProtection, ..

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10583 Summary: DMD 2.063 dumps core with mixins involving __traits(getProtection, .. Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8441] mixin containing template functions causes compiler errors

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 10550] Xorshift32 and Xorshift160 do not generate uniformly-distributed random numbers

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10550 Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed: What|Removed |Added Status|NEW

[Issue 10585] New: Structs in unittest / functions shouldn't have frame pointer unless necessary

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10585 Summary: Structs in unittest / functions shouldn't have frame pointer unless necessary Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 10584] New: Unhelpful error default constructing nested class

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10584 Summary: Unhelpful error default constructing nested class Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10586] New: DMD unable to interpret cascaded template calls at compile time

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10586 Summary: DMD unable to interpret cascaded template calls at compile time Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10587] New: __traits(getAttributes) doesn't work on incomplete templated types

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10587 Summary: __traits(getAttributes) doesn't work on incomplete templated types Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 9455] File.isBinaryMode and more

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9455 Kevin L kevin.lamo...@gmail.com changed: What|Removed |Added CC|

[Issue 10577] 2.063 Mixin Regression (works with 2.062)

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10577 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8441] mixin containing template functions causes compiler errors

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 --- Comment #12 from jfanati...@gmx.at 2013-07-09 11:57:15 PDT --- I've tried them both with the current state of Pull 1660, but compilation fails due to those mixin conflicts. Can you verify this? HEAD definitely won't work at all. The

[Issue 6829] Unsigned rotate standard function in Phobos

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6829 --- Comment #3 from hst...@quickfur.ath.cx 2013-07-09 12:06:57 PDT --- Hmph. That doesn't work. Compiling without -O just makes DMD translate it literally into shl/shr followed by or. Compiling with -O computes the values via CTFE, so I changed

[Issue 10551] [CTFE] Wrong-code on passing dereferenced array pointer by ref 2

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

[Issue 10552] Cannot apply access specifiers to individual anonymous enum members

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10552 --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2013-07-09 12:20:51 PDT --- Language changes are enhancements, not bug fixes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 6829] Unsigned rotate standard function in Phobos

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6829 --- Comment #4 from hst...@quickfur.ath.cx 2013-07-09 12:20:16 PDT --- In fact, not even gdc -O3 recognizes this pattern. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 10552] Cannot apply access specifiers to individual anonymous enum members

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

[Issue 10491] Type inference for function arguments with default value

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

[Issue 10588] New: Typeinfo.compare uses bitwise comparison for structs

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10588 Summary: Typeinfo.compare uses bitwise comparison for structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10589] New: GC.malloc(sz, GC.BlkAttr.APPENDABLE) fails after a certain size

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10589 Summary: GC.malloc(sz, GC.BlkAttr.APPENDABLE) fails after a certain size Product: D Version: unspecified Platform: All OS/Version: Linux Status: NEW

[Issue 8441] mixin containing template functions causes compiler errors

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 --- Comment #13 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-09 15:29:03 PDT --- (In reply to comment #12) I've tried them both with the current state of Pull 1660, but compilation fails due to those mixin conflicts. Can you

[Issue 8441] mixin containing template functions causes compiler errors

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 --- Comment #14 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-09 15:29:34 PDT --- (In reply to comment #13) Issue 5028. Link: http://d.puremagic.com/issues/show_bug.cgi?id=5028 -- Configure issuemail:

[Issue 10590] New: multiple definitions incorrectly allowed

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10590 Summary: multiple definitions incorrectly allowed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2

[Issue 10591] New: Error: only one main allowed doesn't show location of conflicting main symbols

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10591 Summary: Error: only one main allowed doesn't show location of conflicting main symbols Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 10591] Error: only one main allowed doesn't show location of conflicting main symbols

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10591 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 4841] -inline wrecks certain nested structs causing error *** is a nested function and cannot be accessed from ***

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4841 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #18

[Issue 10590] multiple definitions incorrectly allowed

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10590 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8441] mixin containing template functions causes compiler errors

2013-07-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 --- Comment #15 from jfanati...@gmx.at 2013-07-09 22:43:28 PDT --- Btw why are you using mixin templates instead of a struct? I know the current std.signals uses it, but it's broken because people keep running into Issue 5028. Instead is