[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #3 from Kenji Hara 2012-11-14 00:13:59 PST --- (In reply to comment #2) > So I'd say it is a bug, and the fault is likely in > TemplateInstance::hasNestedArgs(). I think that the rule should not be applied to the template type argu

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #4 from Walter Bright 2012-11-14 00:31:21 PST --- The example you gave an example of a bug where a reference to a local is returned, something entirely different. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cg

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #5 from Kenji Hara 2012-11-14 01:07:54 PST --- (In reply to comment #4) > The example you gave an example of a bug where a reference to a local is > returned, something entirely different. No, they are is related. My argue is: the

[Issue 8991] adding a __ctfe branch with return to a function breaks NRVO

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8991 --- Comment #3 from Don 2012-11-14 01:08:32 PST --- I have no idea why this evil hacky code exists in Phobos, I cannot see how it can possibly be correct. If it bypasses postblit, surely that's wrong. If it is faster to use memcpy(), that's a c

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #6 from Kenji Hara 2012-11-14 01:08:01 PST --- Furthermore, the original code had generated incorrect code silently. This slight complicated code might cause access violation in 2.060 or earlier. auto fun(T)(out T ret) { // ret

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #7 from Walter Bright 2012-11-14 01:13:28 PST --- I agree that the original code silently generated wrong code. So this isn't really a regression. But I think we can fix it. There is no way to make your example work, because it is

[Issue 9023] New: CTFE: cannot use ~= on an empty AA.

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9023 Summary: CTFE: cannot use ~= on an empty AA. Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 4019] [CTFE] Adding an item to an empty AA

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4019 Don changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 8936] Throwing results in searching the whole directory tree rooted in current directory

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8936 --- Comment #5 from Denis Shelomovskij 2012-11-14 12:49:12 MSK --- (In reply to comment #4) > Any idea what file it's looking for? Launching "throw-C-release.exe" with code from the second example from description: Call stack of main thread

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #8 from Kenji Hara 2012-11-14 02:05:18 PST --- (In reply to comment #7) > But I think we can fix it. There is no way to make your example work, because > it is returning a reference to a local. But the original one can work, and > t

[Issue 7632] [64bit] byValue() for associative arrays doesn't return the correct values

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7632 Don changed: What|Removed |Added Keywords||wrong-code Summary|byValue() for assoc

[Issue 8175] aa.c assert(0)

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8175 Don changed: What|Removed |Added Keywords||ice Status|NEW

[Issue 7632] [64bit] byValue() for associative arrays doesn't return the correct values

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7632 Don changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8583] [64 bit] AA ushort[dchar] byValue range is corrupted on x86_64

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8583 Don changed: What|Removed |Added CC||exe...@gmail.com --- Comment #3 from Don 2012-1

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #20 from deadalnix 2012-11-14 04:40:08 PST --- (In reply to comment #19) > Ok, the next step is to compile your app without -g. The reason is because > hash > tables are used in the dwarf debug generation, and I want to see if that

[Issue 9019] invariant does not compile/run if class does not define constructor

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9019 Maxim Fomin changed: What|Removed |Added CC||ma...@maxim-fomin.ru --- Comment #1 from

[Issue 9024] New: Inferring function argument types from other template parameters

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9024 Summary: Inferring function argument types from other template parameters Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: norma

[Issue 9024] Inferring function argument types from other template parameters

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9024 --- Comment #1 from Joseph Rushton Wakeling 2012-11-14 05:44:26 PST --- Created an attachment (id=1161) Minimal source code with example of the issue -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You a

[Issue 9014] ICE(glue.c) line 1225: with array.front and missing array

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9014 --- Comment #2 from github-bugzi...@puremagic.com 2012-11-14 06:01:34 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3c2ddd90bed08abdf064091e9b56d55bc692dde

[Issue 8991] adding a __ctfe branch with return to a function breaks NRVO

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8991 --- Comment #4 from Dmitry Olshansky 2012-11-14 06:42:57 PST --- (In reply to comment #3) >I have no idea why this evil hacky code exists in Phobos, I cannot see how it >can possibly be correct. If it bypasses postblit, surely that's wrong. >I

[Issue 9014] ICE(glue.c) line 1225: with array.front and missing array

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9014 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7954] x86_64 Windows fibers do not save nonvolatile XMM registers

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7954 Manu changed: What|Removed |Added CC||turkey...@gmail.com --- Comment #1 from Manu 2

[Issue 9025] New: core.thread.Fiber seems to crash on Win64

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9025 Summary: core.thread.Fiber seems to crash on Win64 Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Co

[Issue 9025] core.thread.Fiber seems to crash on Win64

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9025 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #

[Issue 8937] import declaration statement without scope after `if` imports to a parent scope

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8937 --- Comment #2 from github-bugzi...@puremagic.com 2012-11-14 14:12:51 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b5f183e467ff3cbbffb0ffbff3a1038c2310675

[Issue 8937] import declaration statement without scope after `if` imports to a parent scope

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8937 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #21 from Walter Bright 2012-11-14 16:59:25 PST --- I've tried various schemes to induce it to fail, and done a code review. I can't find anything wrong. I need a test case. -- Configure issuemail: http://d.puremagic.com/issues/us

[Issue 8936] Throwing results in searching the whole directory tree rooted in current directory

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8936 --- Comment #6 from Andrej Mitrovic 2012-11-14 17:24:53 PST --- Just a guess, but maybe caused by one of these (since they deal with dbghelp.dll): https://github.com/D-Programming-Language/druntime/pull/243 https://github.com/D-Programming-La

[Issue 8968] std.traits.ParameterIdentifierTuple is undocumented and doesn't work with ref params

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8968 Ellery Newcomer changed: What|Removed |Added CC||ellery-newco...@utulsa.edu --- Comme

[Issue 8968] std.traits.ParameterIdentifierTuple is undocumented and doesn't work with ref params

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8968 Ellery Newcomer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8939] ICE(glue.c) on passing by ref statically initialized const/immutable variable

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8939 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #2 from Kenji Hara 2012

[Issue 8939] ICE(glue.c) on passing by ref statically initialized const/immutable variable

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8939 --- Comment #3 from github-bugzi...@puremagic.com 2012-11-14 18:46:11 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7daa39cc3ff563b50004cda86f4cdc1ae76c288

[Issue 8936] Throwing results in searching the whole directory tree rooted in current directory

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8936 --- Comment #7 from Walter Bright 2012-11-14 18:50:51 PST --- (In reply to comment #6) > It's damn hard to find matching DMD+druntime+phobos versions that compile > together for that pull so I can't test these out. Just use the latest version

[Issue 8939] ICE(glue.c) on passing by ref statically initialized const/immutable variable

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8939 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8996] [ICE](e2ir.c line 768) with bigint main-imported

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8996 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 9026] New: Template mixin identifier as template alias parameter doesn't work

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9026 Summary: Template mixin identifier as template alias parameter doesn't work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rej

[Issue 9026] Template mixin identifier as template alias parameter doesn't work

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9026 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from Kenji Hara 2012

[Issue 8688] Qualified indexing type tuple returns wrong result

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8688 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8702] tuple(tuple(1)) fails to compile, but tuple(tuple(1), 1) works

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8702 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8617] std.typecons.Proxy.opEquals compiles error: undefined identifier 'startsWith'

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8617 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8645] ICE: Assertion failed: (0), function totym, file glue.c, line 1150.

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8645 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8522] Comparison operator overloading doesn't consider the qualifier of lhs

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8522 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8629] UFCS resolution prints fake error

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8629 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8966] ICE(cgcod.c) when passing cfloat argument with indirection

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8966 --- Comment #1 from github-bugzi...@puremagic.com 2012-11-14 22:08:46 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/10eefc3f5799585d618da90a595d158a22ca5e95

[Issue 8966] ICE(cgcod.c) when passing cfloat argument with indirection

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8966 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6772] Cannot pass cfloat argument type to a function on x86_64

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6772 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8517] ICE(toir.c 178) or stack overflow with recursive alias template

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8517 Don changed: What|Removed |Added Version|D2 |D1 & D2 Summary|ICE(toir.c 178)