[Issue 6511] [CTFE] Array op gives wrong result

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6511 --- Comment #2 from bearophile_h...@eml.cc 2011-08-22 23:21:42 PDT --- The given code example now works. But this: T foo(T)() { T[1] a = [1]; a[] += a[]; return a[0]; } static assert(foo!long() == 2); // OK static assert(foo!int()

[Issue 6544] New: Tuple unpacking at the called function

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6544 Summary: Tuple unpacking at the called function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 6365] AutoTupleDeclaration

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6365 --- Comment #32 from bearophile_h...@eml.cc 2011-08-22 23:52:53 PDT --- See also issue 6544 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 4375] Require explicit braces when 'else' is ambiguous

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #19 from bearophile_h...@eml.cc 2011-08-23 00:03:56 PDT --- See also: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=142984

[Issue 6511] [CTFE] Array op gives wrong result

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6511 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 6505] Wrong code for expression involving 8 floats, only with -O

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6505 --- Comment #2 from Don clugd...@yahoo.com.au 2011-08-23 01:52:36 PDT --- Thanks bearophile, that reduction is very helpful. The code loads 8 values on the x87 stack. The eighth one would cause an overflow, so in cg87.c, push87(), it inserts:

[Issue 6545] New: [CTFE] Array operations problem

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6545 Summary: [CTFE] Array operations problem Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 2781] alias this doesn't work with foreach

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2781 Trass3r mrmoc...@gmx.de changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 6546] New: alias this + IdentityExpression doesn't work

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6546 Summary: alias this + IdentityExpression doesn't work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 6505] Wrong code for expression involving 8 floats, only with -O

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6505 --- Comment #3 from Don clugd...@yahoo.com.au 2011-08-23 12:19:44 PDT --- Here's the problem. The scheduler keeps track of the number of used x87 registers via the fpustackused variable. Each instruction has a fpuadjust value which says how

[Issue 6419] [CTFE] Cannot create a nested struct if it has a constructor

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6419 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords|ice-on-valid-code | Summary|[CTFE]

[Issue 3794] Phobos' socket.receive should assert on the length of the target array

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3794 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 4457] Sockets on OSX terminate apps with SIGPIPE and there's no (official) way to turn it off

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4457 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4025] Making network with the std.stdio.File interface

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4025 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 4977] cannot use nothrow or pure with Rebindable

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4977 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #4

[Issue 6546] alias this + IdentityExpression doesn't work

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6546 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #1

[Issue 3661] ^^ not supported in array operations.

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3661 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1643] SocketStream.readLine not processing \r\n properly

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1643 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2781] alias this doesn't work with foreach

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2781 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2011-08-23 20:40:14 PDT --- (In reply to comment #4) Still fails for arrays. Which version did you use? Git master (0b47c51f13) can compile it in my environment (Windows 7 64bit). --

[Issue 5710] cannot use delegates as parameters to non-global template

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5710 --- Comment #11 from David Simcha dsim...@yahoo.com 2011-08-23 21:48:56 PDT --- (In reply to comment #6) 1. function pointer 2. function pointer with context pointer (delegate) 3. function pointer with two context pointers Is that really

[Issue 4234] Cannot create a std.socket.Socket from an fd

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4234 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5401] std.socket updates and boost license

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5401 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 4365] Shared receive for all waitable objects

2011-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4365 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED